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