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