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