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