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