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