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