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