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