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