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