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