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