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