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