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