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