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