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