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