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