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