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