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