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