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