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