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