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