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