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