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