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