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