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