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