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