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