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