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