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