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