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