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