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