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