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