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