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