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