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