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