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