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