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