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