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