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