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