Given two integers L and R find the difference of number of composites and primes between the range L and R (both inclusive).
First line of input contains of an integer 'T' denoting number of test cases . Then T test cases follow.
Each test contains two integers L and R .
For each case print an integer corresponding to the answer .
If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.