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