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