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