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