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