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