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