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