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