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