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