Summer is at its peak in Chefland. Chef is planning to purchase a water cooler to keep his room cool. He has two options available: 
Rent a cooler at the cost of X coins per month.
Purchase a cooler for Y coins.

Given that the summer season will last for M months in Chefland, help Chef in finding whether he should rent the cooler or not.

Chef rents the cooler only if the cost of renting the cooler is strictly less than the cost of purchasing it. Otherwise, he purchases the cooler.

Print \texttt{YES} if Chef should rent the cooler, otherwise print \texttt{NO}. 

------ Input Format ------ 

- The first line of input will contain an integer T — the number of test cases. The description of T test cases follows.
- The first and only line of each test case contains three integers X, Y and M, as described in the problem statement. 

------ Output Format ------ 

For each test case, output \texttt{YES} if Chef should rent the cooler, otherwise output \texttt{NO}. 

You may print each character of the string in uppercase or lowercase (for example, the strings \texttt{YeS}, \texttt{yEs}, \texttt{yes} and \texttt{YES} will all be treated as identical).

------ Constraints ------ 

$1 ≤ T ≤ 100$
$1 ≤ X, M ≤ 10^{4}$
$1 ≤ Y ≤ 10^{8}$

----- Sample Input 1 ------ 
3
5 10 1
5 10 2
5 10 3
----- Sample Output 1 ------ 
YES
NO
NO
----- explanation 1 ------ 
Test case $1$: Cost of renting the cooler $= 5$ coins. Cost of purchasing the cooler $= 10$ coins. So, Chef should rent the cooler as the cost of renting the cooler for $1$ month is strictly less than purchasing it.

Test case $2$: Cost of renting the cooler $= 10$ coins. Cost of purchasing the cooler $= 10$ coins. So, Chef should not rent the cooler as the cost of renting the cooler for $2$ months is not strictly less than purchasing it.

Test case $3$: Cost of renting the cooler $= 15$ coins. Cost of purchasing the cooler $= 10$ coins. So, Chef should not rent the cooler as the cost of renting the cooler for $3$ months is not strictly less than purchasing it.

Source: codechef | Difficulty: EASY
Tags: Mathematics


Solutions:
for _ in range(int(input())):
	(a, b, c) = map(int, input().split())
	if a * c >= b:
		print('NO')
	else:
		print('YES')


t = int(input())
for i in range(t):
	(x, y, z) = map(int, input().split())
	a = x * z
	if a < y:
		print('YES')
	else:
		print('NO')


n = int(input())
for i in range(n):
	(a, b, c) = map(int, input().split())
	d = a * c
	if d < b:
		print('YES')
	else:
		print('NO')


T = int(input())
for i in range(T):
	(X, Y, M) = map(int, input().split())
	total_rent = X * M
	if total_rent < Y:
		print('YES')
	else:
		print('NO')


t = int(input())
while t:
	(x, y, m) = map(int, input().split())
	print('YES' if x * m < y else 'NO')
	t -= 1


x = int(input())
for i in range(x):
	(a, b, c) = map(int, input().split())
	rent = a * c
	if rent < b:
		print('YES')
	else:
		print('NO')


t = int(input())
for i in range(t):
	(a, b, c) = map(int, input().split())
	ans = a * c
	if ans < b:
		print('YES')
	else:
		print('NO')


T = int(input())
for i in range(T):
	(X, Y, Z) = map(int, input().split())
	if X * Z < Y:
		print('YES')
	else:
		print('NO')


for i in range(int(input())):
	(x, y, m) = map(int, input().split())
	if x * m < y:
		print('YES')
	else:
		print('NO')


t = int(input())
while t != 0:
	(a, b, c) = map(int, input().split())
	if a * c >= b:
		print('NO')
	else:
		print('YES')
	t = t - 1


t = int(input())
while t > 0:
	(x, y, z) = input().split()
	(x, y, z) = [int(x), int(y), int(z)]
	if x * z < y:
		print('YES')
	else:
		print('NO')
	t = t - 1


T = int(input())
for i in range(0, T):
	(x, y, m) = map(int, input().split())
	r = x * m
	if r < y:
		print('YES')
	else:
		print('NO')


a = int(input())
for s in range(a):
	(x, y, m) = map(int, input().split())
	if m * x >= y:
		print('NO')
	else:
		print('YES')


m = int(input())
for i in range(0, m):
	(f, g, h) = map(int, input().split())
	e = f * h
	if e < g:
		print('YES')
	else:
		print('NO')


t = int(input())
for i in range(t):
	(X, Y, M) = map(int, input().split())
	if X * M < Y:
		print('YES')
	else:
		print('NO')


n = int(input())
while n != 0:
	(x, y, m) = map(int, input().split())
	if x * m < y:
		print('YES')
	else:
		print('NO')
	n = n - 1


T = int(input())
for v in range(T):
	(X, M, Y) = map(int, input('').split())
	if X * Y < M:
		print('YES')
	else:
		print('NO')


n = int(input())
l = [list(map(int, input().split())) for i in range(n)]
for i in l:
	k = i[0] * i[2]
	if k < i[1]:
		print('YES')
	else:
		print('NO')