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