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