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