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