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