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