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