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