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