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