Game of numbers is a game where you are given two integers (X and Y), and you have to print the number of special numbers between X and Y both inclusive.
The property of a special numbers is as follows:
A special number is not divisible by any number of the form ZZ* where ().
Input:
T, the number of test cases. Each test case consists of two space separated integers denoting X and Y.
Output: The required answer in one line for each test case.
Constraints:
In given test case
, and 9 are not special
.