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