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