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