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