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