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