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