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