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