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