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