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