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