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