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