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