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