There are 7 baskets on the table. Each basket has 5, 1, 3, 8, 4, 17 and 0 apples. Olivia chose fourth, Liam chose seventh, Matt chose fifth, Noah chose sixth, John chose second, Emma chose third, and Sean chose first. How many apples did John and Olivia choose in total?