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