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