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