It's dinner time. Ashish is very hungry and wants to eat something. He has X rupees in his pocket. Since Ashish is very picky, he only likes to eat either PIZZA or BURGER. In addition, he prefers eating PIZZA over eating BURGER. The cost of a PIZZA is Y rupees while the cost of a BURGER is Z rupees. 

Ashish can eat at most one thing. Find out what will Ashish eat for his dinner.

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

- The first line will contain T - the number of test cases. Then the test cases follow.
- The first and only line of each test case contains three integers X, Y and Z - the money Ashish has, the cost of a PIZZA and the cost of a BURGER.

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

For each test case, output what Ashish will eat. (PIZZA, BURGER or NOTHING).

You may print each character of the string in uppercase or lowercase. (for example, the strings Pizza, pIzZa and piZZa will all be treated as identical).

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

$1 ≤ T ≤ 100$
$1 ≤ X, Y, Z ≤ 100$

----- Sample Input 1 ------ 
3
50 40 60
40 55 39
30 42 37

----- Sample Output 1 ------ 
PIZZA
BURGER
NOTHING

----- explanation 1 ------ 
Test case-1: Ashish has $50$ rupees while the cost of PIZZA is $40$. Therefore he can buy a PIZZA for his dinner.

Test case-2: Ashish has $40$ rupees. The cost of PIZZA is $55$ and the cost of BURGER is $39$. Therefore Ashish can not buy a PIZZA but can buy a BURGER for his dinner.

Test case-3: Ashish has $30$ rupees which are not sufficient to buy either PIZZA or BURGER. Thus he can not buy anything and remains hungry :(.

Source: codechef | Difficulty: EASY


Solutions:
for i in range(int(input())):
	(x, y, z) = map(int, input().split())
	if x >= y:
		print('PIZZA')
	elif x >= z:
		print('BURGER')
	else:
		print('NOTHING')


for _testcase in range(int(input())):
	(a, b, c) = map(int, input().split())
	if b <= a:
		print('PIZZA')
	elif c <= a:
		print('BURGER')
	else:
		print('NOTHING')


t = int(input())
for bunny in range(t):
	(x, y, z) = map(int, input().split())
	if x < y and x < z:
		print('NOTHING')
	elif x >= y:
		print('PIZZA')
	else:
		print('BURGER')


for t in range(int(input())):
	(money, pizza, burger) = map(int, input().split())
	if pizza <= money:
		print('PIZZA')
		pass
	elif burger <= money:
		print('BURGER')
		pass
	else:
		print('NOTHING')
		pass
	pass


t = int(input())
for i in range(t):
	(tot, p, b) = list(map(int, input().split()))
	if tot // p >= 1:
		print('PIZZA')
	elif tot // b >= 1:
		print('BURGER')
	else:
		print('NOTHING')


n = int(input())
for i in range(n):
	(a, b, c) = map(int, input().split(' '))
	if a < b and a < c:
		print('NOTHING')
	elif a >= b:
		print('PIZZA')
	else:
		print('BURGER')


for i in range(int(input())):
	(m, p, b) = map(int, input().split())
	if m < p and m < b:
		print('NOTHING')
	elif p <= m:
		print('PIZZA')
	else:
		print('BURGER')


for _ in range(int(input())):
	(a, b, c) = map(int, input().split())
	if a < b and a < c:
		print('NOTHING')
	elif a >= b or a >= c:
		if a >= b:
			print('PIZZA')
		else:
			print('BURGER')


for i in range(int(input())):
	x = list(map(int, input().split()))
	b = x[0]
	if b >= x[1]:
		print('PIZZA')
	elif b >= x[2]:
		print('BURGER')
	else:
		print('NOTHING')


for _ in range(int(input())):
	(x, y, z) = map(int, input().split())
	if x >= y and (x >= z or x <= z):
		print('PIZZA')
	elif x < y and x >= z:
		print('BURGER')
	elif x < y and x < z:
		print('NOTHING')


for i in range(int(input())):
	(X, Y, Z) = map(int, input().split())
	if X >= Y:
		print('PIZZA')
	elif X >= Z:
		print('BURGER')
	else:
		print('NOTHING')


for _ in range(int(input())):
	(cost, pizza, burger) = map(int, input().split())
	if cost >= pizza:
		print('PIZZA')
	elif cost >= burger:
		print('BURGER')
	else:
		print('NOTHING')


t = int(input())
while t > 0:
	(x, y, z) = map(int, input().split())
	if x >= y:
		print('PIZZA')
	elif x >= z:
		print('BURGER')
	else:
		print('NOTHING')
	t = t - 1


cases = int(input())
for i in range(cases):
	(x, y, z) = map(int, input().split())
	pizaa = True
	burger = True
	if x >= y:
		print('PIZZA')
	elif x >= z:
		print('BURGER')
	else:
		print('NOTHING')


t = int(input())
while t:
	(x, y, z) = [int(i) for i in input().split()]
	if y <= x and z <= x:
		print('PIZZA')
	elif y <= x:
		print('PIZZA')
	elif z <= x:
		print('BURGER')
	else:
		print('NOTHING')
	t -= 1