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