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