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