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