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