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