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