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