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