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