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