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