Chef is on his way to become the new big bull of the stock market but is a bit weak at calculating whether he made a profit or a loss on his deal.

Given that Chef bought the stock at value X and sold it at value Y. Help him calculate whether he made a profit, loss, or was it a neutral deal.

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

- The first line of input will contain a single integer T, denoting the number of test cases.
- Each test case consists of a single line of input containing two space-separated integers X and Y, denoting the value at which Chef bought and sold the stock respectively.

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

For each test case, output PROFIT if Chef made a profit on the deal, LOSS if Chef incurred a loss on the deal, and NEUTRAL otherwise.

The checker is case-insensitive so answers like pROfiT, profit, and PROFIT would be considered the same.

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

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

----- Sample Input 1 ------ 
4
4 2
8 8
3 4
2 1

----- Sample Output 1 ------ 
LOSS
NEUTRAL
PROFIT
LOSS

----- explanation 1 ------ 
Test case $1$: Since the cost price is greater than the selling price, Chef made a loss in the deal.

Test case $2$: Since the cost price is equal to the selling price, the deal was neutral.

Test case $3$: Since the cost price is less than the selling price, Chef made a profit in the deal.

Test case $4$: Since the cost price is greater than the selling price, Chef made a loss in the deal.

Difficulty: EASY

Solutions:
T = int(input())
for _ in range(T):
	(X, Y) = map(int, input().split())
	if X is Y:
		print('NEUTRAL')
	elif X > Y:
		print('LOSS')
	else:
		print('PROFIT')


for i in range(int(input())):
	(x, y) = map(int, input().split())
	if x > y:
		print('LOSS')
	elif x < y:
		print('PROFIT')
	else:
		print('NEUTRAL')


t = int(input())
for u in range(t):
	(X, Y) = list(map(int, input().split()))
	if X > Y:
		print('LOSS')
	elif X < Y:
		print('PROFIT')
	else:
		print('NEUTRAL')


t = int(input())
for _ in range(t):
	(a, b) = input().split()
	(a, b) = (int(a), int(b))
	print('LOSS' if a > b else 'NEUTRAL' if a == b else 'PROFIT')


t = int(input())
for i in range(t):
	(N, M) = map(int, input().split())
	if N > M:
		print('LOSS')
	elif N == M:
		print('NEUTRAL')
	else:
		print('PROFIT')


T = int(input())
for i in range(T):
	(X, Y) = map(int, input().split())
	if Y - X > 0:
		print('PROFIT')
	elif Y == X:
		print('NEUTRAL')
	else:
		print('LOSS')


test = int(input())
ans = []
while test:
	test = test - 1
	(X, Y) = [int(x) for x in input().split()]
	if X - Y > 0:
		ans.append('LOSS')
	elif X == Y:
		ans.append('NEUTRAL')
	else:
		ans.append('PROFIT')
for i in ans:
	print(i)


n = int(input())
for _ in range(n):
	(a, b) = map(int, input().split())
	if b > a:
		print('PROFIT')
	if a == b:
		print('NEUTRAL')
	if a > b:
		print('LOSS')


Test = int(input())
for i in range(Test):
	(x1, y1) = map(int, input().split())
	if x1 < y1:
		print('PROFIT')
	elif y1 < x1:
		print('LOSS')
	else:
		print('NEUTRAL')


a = int(input())
for i in range(a):
	(m, n) = map(int, input().split())
	if m > n:
		print('LOSS')
	elif m == n:
		print('NEUTRAL')
	else:
		print('PROFIT')


test_cases = int(input())
for i in range(test_cases):
	prices = list(map(int, input().split()))
	if prices[0] > prices[-1]:
		print('LOSS')
	elif prices[0] < prices[-1]:
		print('PROFIT')
	else:
		print('NEUTRAL')


t = int(input())
for i in range(t):
	(a, b) = map(int, input().split())
	if a == b:
		print('NEUTRAL')
	elif a > b:
		print('LOSS')
	else:
		print('PROFIT')


a = int(input())
for i in range(a):
	(b, c) = map(int, input().split())
	if b > c:
		print('LOSS')
	elif b < c:
		print('PROFIT')
	elif b == c:
		print('NEUTRAL')


t = int(input())
for i in range(t):
	(x, y) = [int(x) for x in input().split()]
	if x > y:
		print('LOSS')
	elif x == y:
		print('NEUTRAL')
	elif x < y:
		print('PROFIT')


t = int(input())
for _ in range(t):
	(c, s) = map(int, input().split())
	if c > s:
		print('LOSS')
	elif c == s:
		print('NEUTRAL')
	else:
		print('PROFIT')


n = int(input())
for _ in range(n):
	(x, y) = list(map(int, input().split()))
	if x > y:
		print('LOSS')
	elif x == y:
		print('NEUTRAL')
	else:
		print('PROFIT')


n = int(input())
while n > 0:
	(k, m) = map(int, input().split())
	if k > m:
		print('LOSS')
	elif k == m:
		print('NEUTRAL')
	else:
		print('PROFIT')
	n -= 1