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