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