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