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