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