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