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