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