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