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