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