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