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