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