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