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