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