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