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