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