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