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