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