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