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