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