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