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