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