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