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