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