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