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