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