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