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