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