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