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