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