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