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