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