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