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