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