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