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