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