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