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