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