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