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