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