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