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