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