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