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