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