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