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