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