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