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