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