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