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