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