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