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