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