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