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