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