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