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