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