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