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