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