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