Mogu loves those numbers that have the following property:-
Given $$L$$ and $$R$$, Mogu needs to find the count of numbers between $$L$$ and $$R$$ inclusive that follow the above properties.
As Mogu was unable to make it to the IUPC round 1 in Plinth '17, he has asked you to report the answer back to him.
Note: Both the properties should hold.
First line of the Input contains an integer $$Q$$ denoting the number of queries. Each of the next $$Q$$ lines contain $$2$$ integers $$L$$ and $$R$$.
Output the count of such numbers in the range $$L$$ and $$R$$ inclusive that follow the given properties for each query.
$$1 \le Q \le 10^6$$
$$1 \le L \le 10^6$$
$$1 \le R \le 10^6$$
$$L$$ can be $$\gt R$$.