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