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