Question
Exams in Scotland

In Scotland, there are X schools, and each school has Y students. The year end results are in and a total of Z students passed the exams. Assuming that all students appeared for the exams, find whether the number of students who passed in Scotland was strictly greater than 50%.

Input
The first line of input will contain a single integer T, denoting the number of test cases.
Each test case consists of three space-separated integers X, Y, and Z, as mentioned in the statement.

Constraints
1 ≤ T ≤ 2x104
1 ≤ X ≤ 5
1 ≤ Y ≤ 50
0 ≤ Z ≤ X.Y
Output
For each test case, output on a new line, Yes, if the total number of students who passed in Scotland was strictly greater than 50%, otherwise print No.
Example
Input
2
2 10 12
2 10 3
Output
Yes
No
Explanation
Test case 1: The total number of students appeared were 2 x 10 = 20. The number of students passed were 12.
Thus, number of students who passed are 60%, which is strictly greater than 50%.
Test case 2: The total number of students appeared were 2 x 10 = 20. The number of students passed were 3.
Thus, number of students who passed are 15%, which is less than 50%.

Online