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