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