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