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