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