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