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