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