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