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