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