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