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