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