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