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