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