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