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