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