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