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