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