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