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