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