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