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