Chef has started studying for the upcoming test. The textbook has N pages in total. Chef wants to read at most X pages a day for Y days.

Find out whether it is possible for Chef to complete the whole book.

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

- The first line of input will contain a single integer T, denoting the number of test cases.
- The first and only line of each test case contains three space-separated integers N, X, and Y — the number of pages, the number of pages Chef can read in a day, and the number of days.

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

For each test case, output on a new line, YES, if Chef can complete the whole book in given time, and NO otherwise.

You may print each character of the string in uppercase or lowercase. For example, Yes, YES, yes, and yES are all considered identical.

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

$1 ≤ T ≤ 1000$
$1 ≤ N ≤ 100$
$1 ≤ X, Y ≤ 10$

----- Sample Input 1 ------ 
4
5 2 3
10 3 3
7 7 1
3 2 1

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

----- explanation 1 ------ 
Test case $1$: Chef can read two pages on the first day, two on the second day, and the remaining one on the third day.

Test case $2$: Chef cannot complete all ten pages in three days.

Test case $3$: Chef can read all seven pages in one day.

Test case $4$: Chef cannot complete all three pages in one day.

Source: codechef | Difficulty: EASY
Tags: Mathematics


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


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


test = int(input())
ans = []
while test:
	test = test - 1
	(N, X, Y) = [int(x) for x in input().split()]
	if X * Y >= N:
		ans.append('YES')
	else:
		ans.append('NO')
for i in ans:
	print(i)


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


x = int(input())
for i in range(x):
	(a, b, c) = map(int, input().split())
	z = b * c
	if a <= z:
		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')


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


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


t = int(input())
for i in range(t):
	(pags, pagsToReadPerDay, days) = map(int, input().split())
	print('YES' if pags / pagsToReadPerDay <= days else 'NO')


T = int(input())
for t in range(T):
	(N, X, Y) = map(int, input().split())
	q = X * Y
	if q >= N:
		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('YES')
	else:
		print('NO')


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


def can_complete_book(N, X, Y):
	if X * Y >= N:
		return 'YES'
	else:
		return 'NO'
T = int(input().strip())
for i in range(T):
	(N, X, Y) = map(int, input().strip().split())
	print(can_complete_book(N, X, Y))


t = int(input())
for i in range(0, t):
	nxy = list(map(int, input().split()))
	if nxy[1] * nxy[2] >= nxy[0]:
		print('YES')
	else:
		print('NO')


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


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


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


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


cases = int(input())
for case in range(cases):
	(x, y, z) = map(int, input().split())
	if y * z >= x:
		print('YES')
	else:
		print('NO')


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