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