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