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