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