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