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