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