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