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