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