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