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