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