Definition: a+b = c, if all the digits of c are same ( c is more than ten),then we call a and b are Repeat Number. My question is How many Repeat Numbers in [x,y].
There are several test cases.
Each test cases contains two integers x, y(1<=x<=y<=1,000,000) described above.
Proceed to the end of file.
For each test output the number of couple of Repeat Number in one line.
1 10
10 12
5
2
If a equals b, we can call a, b are Repeat Numbers too, and a is the Repeat Numbers for itself.