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