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