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