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