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