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