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