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