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