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