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