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