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