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