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