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