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