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