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