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