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