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