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