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