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