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