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