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