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