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