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