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