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