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