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