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