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