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