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