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