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