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