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