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