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