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