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