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