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