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