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