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