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