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