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