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