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