This question is straight-forward.
Given length L cm and breadth B cm of a rectangular cardboard. You need to cut out the circles of diameter D cm from it. Find out the maximum number of circles you can cut out from it. Since the value can be very large, give your answer in mod 10^9 + 7
Input:
First line of input contains an integer T - no. of testcases. After that, each line contains three space-separated integers L B D
Output:
For every testcase, print out one integer per line that is the maximum no. of circles that can be cut out from board. The integer should be printed in mod 10^9 + 7
Constraints
1<=T<=10
1<=L,B,D<=10^18
In the first case, rectangle is 20x10 whereas the circle is larger than it with diameter 30 hence 0 circles can be cut out. In second testcase, you can make a figure of rectangle of 30x20, you will see that 6 circles of diameter 10 can be cut out from it.