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