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