Any number is called beautiful if it consists of $$2N$$ digits and the sum of the first $$N$$ digits is equal to the sum of the last $$N$$ digits. Your task is to find the count of beautiful numbers in the interval from $$L$$ to $$R$$ (including $$L$$ and $$R$$).
Beautiful numbers do not have leading zeroes.
Input format
Output format
For each test case, print the count of beautiful numbers in a new line.
Constraints
\(1 \le T \le 200000\\ 1 \le L \le R \le 1000000000\)
There are only $$9$$ beautiful numbers in the first $$100$$ integers. \(11,22,33,44,55,66,77,88\) and $$99$$ are the beautiful numbers in the range \([1,100]\).