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