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