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