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