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