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