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