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