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