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