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