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