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