Question
Score Surge
In BrightHaven, there are M institutes, each with N pupils. After the annual exams, K students succeeded. Assuming every student participated, check if the count of successful students exceeds 50% of the total.
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 M, N, and K, as mentioned in the statement.
Each test case consists of three space-separated integers M, N, and K, as mentioned in the statement.
Output
For each test case, output on a new line, Yes, if the total number of students who passed in BrightHaven was strictly greater than 50%, otherwise print No.
Example
Sample Input
2
2 10 12
2 10 3
Sample 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%.
2
2 10 12
2 10 3
Sample 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%.