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