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