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