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