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