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