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