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