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