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