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