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