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