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