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