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