Chef wants to give a burger party to all his N friends i.e. he wants to buy one burger for each of his friends. 

The cost of each burger is X rupees while Chef has a total of K rupees.

Determine whether he has enough money to buy a burger for each of his friends or not.

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

- The first line contains a single integer T - the number of test cases. Then the test cases follow.
- The first and only line of each test case contains the three integers N, X, and K - the number of Chef's friends, the cost of each burger, and the total money Chef has, respectively.

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

For each test case, output YES if the Chef can give a party to all his N friends. Otherwise, output NO.

You may print each character of YES and NO in uppercase or lowercase (for example, yes, yEs, Yes will be considered identical).

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

$1 ≤T ≤1000$
$1 ≤N, X ≤100$
$1 ≤K ≤10000$

----- Sample Input 1 ------ 
4
5 10 70
5 10 40
10 40 400
14 14 150

----- Sample Output 1 ------ 
YES
NO
YES
NO

----- explanation 1 ------ 
- Test case $1$: Chef has $5$ friends. The cost of buying a burger for each of them will be $10 \times 5 = 50$ while Chef has $70$ rupees. Therefore, he can buy a burger for all of them.

- Test case $2$: Chef has $5$ friends. The cost of buying a burger for each of them will be $10 \times 5 = 50$ while Chef has $40$ rupees. Therefore, he can not buy a burger for all of them.

- Test case $3$: Chef has $10$ friends. The cost of buying a burger for each of them will be $40 \times 10 = 400$ and Chef has $400$ rupees. Therefore, he can buy a burger for all of them.

- Test case $4$: Chef has $14$ friends. The cost of buying a burger for each of them will be $14 \times 14 = 196$ while Chef has $150$ rupees. Therefore, he can not buy a burger for all of them.

Source: codechef | Difficulty: EASY
Tags: Implementation


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


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


t = int(input())
for i in range(t):
	(N, X, K) = map(int, input().split())
	if K >= N * X:
		print('YES')
	else:
		print('NO')


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


for _ in range(int(input())):
	(n, x, k) = map(int, input().split())
	if k >= n * x:
		print('YES')
	else:
		print('NO')


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


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


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


try:
	for _ in range(int(input())):
		(n, k, x) = map(int, input().split())
		if n * k <= x:
			print('YES')
		else:
			print('NO')
except:
	print(0)


T = int(input())
for i in range(T):
	(N, X, K) = map(int, input().split())
	A = N * X
	if A > K:
		print('NO')
	else:
		print('YES')


T = int(input())
for t in range(T):
	(N, X, K) = map(int, input().split())
	q = N * X
	if K >= q:
		print('YES')
	else:
		print('NO')


t = int(input())
for i in range(t):
	(n, x, k) = [int(x) for x in input().split()]
	if n * x <= k:
		print('YES')
	else:
		print('NO')


n = int(input())
for _ in range(n):
	(f, b, r) = map(int, input().split())
	ac = f * b
	if r >= ac:
		print('YES')
	else:
		print('NO')


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


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


t = int(input())
for i in range(t):
	(n, x, k) = list(map(int, input().split()))
	d = n * x
	if d <= k:
		print('YES')
	else:
		print('NO')


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


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


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


T = int(input())
for i in range(0, T):
	(N, X, K) = input().split()
	n = int(N)
	x = int(X)
	k = int(K)
	c = n * x
	if c <= k:
		print('YES')
	else:
		print('NO')


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


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