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