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