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