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