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