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