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