Bessie the cow was daydreaming, drifting between wakefulness and that pleasant drowsiness we all feel when we are tired. Unable to fall asleep, she counted numbers instead of sheep. Bessie's mind is razor sharp, so as she counts she pictures every number vividly and starts noticing its digits. She wonders: while counting through a run of consecutive integers, how many times does each digit appear?
Given two integers $M$ and $N$, consider every integer from $M$ to $N$ inclusive. For each digit from $0$ to $9$, count how many times that digit appears across the decimal representations of all of these numbers.
Constraints: