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