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