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