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