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