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