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