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