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