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