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