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