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