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