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