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