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