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