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