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