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