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