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