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