For two given positive numbers a and b. Find ab. Output your number modulus 109+7.
The first line contains an integer 'T' denoting the total number of test cases. In each test cases, there are two numbers a and b.
1 <= T <= 31
1 <= a <= 100
1 <= b <= 106
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.