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