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