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