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