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