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