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