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