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