There are two exits in a bus with 100 seats:
First exit is located beside seat number 1.
Second exit is located beside seat number 100.

Seats are arranged in a straight line from 1 to 100 with equal spacing between any 2 adjacent seats.

A passenger prefers to choose the nearest exit while leaving the bus.

Determine the exit taken by passenger sitting on seat X.

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

- The first line of input will contain a single integer T, denoting the number of test cases.
- Each test case consists a single integer X, denoting the seat number.

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

For each test case, output LEFT if the passenger chooses the exit beside seat 1, RIGHT otherwise.

You may print each character of the string in uppercase or lowercase (for example, the strings LEFT, lEft, left, and lEFT will all be treated as identical).

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

$1 ≤ T ≤ 100$
$1 ≤ X ≤ 100$

----- Sample Input 1 ------ 
6
1
50
100
30
51
73

----- Sample Output 1 ------ 
LEFT
LEFT
RIGHT
LEFT
RIGHT
RIGHT

----- explanation 1 ------ 
Test case $1$: The exit is located beside seat $1$. Hence, the passenger can take this exit without moving to any other seat.

Test case $2$: To take exit at seat $1$, the passenger needs to move $49$ seats. However, to take the exit at seat $100$, the passenger needs to move $50$ seats. Thus, exit at seat $1$ is closer.

Test case $3$: The exit is located beside seat $100$. Hence, the passenger can take this exit without moving to any other seat.

Test case $4$: To take exit at seat $1$, the passenger needs to move $29$ seats. However, to take the exit at seat $100$, the passenger needs to move $70$ seats. Thus, exit at seat $1$ is closer.

Difficulty: EASY

Solutions:
t = int(input())
for i in range(t):
	x = int(input())
	if x <= 50:
		print('LEFT')
	else:
		print('RIGHT')


t = int(input())
while t:
	X = int(input())
	print('LEFT' if X - 1 < 100 - X else 'RIGHT')
	t -= 1


def NearExit(x):
	if x > 50:
		print('RIGHT')
	else:
		print('LEFT')
for i in range(int(input())):
	x = int(input())
	NearExit(x)


n = int(input())
for i in range(n):
	a = int(input())
	if a > 50:
		print('RIGHT')
	else:
		print('LEFT')


for i in range(int(input())):
	X = int(input())
	print('LEFT' if X - 1 < 100 - X else 'RIGHT')


t = int(input())
for _ in range(t):
	place = int(input())
	print('LEFT' if place <= 50 else 'RIGHT')


for i in range(int(input())):
	a = int(input())
	if a < 51:
		print('LEFT')
	else:
		print('RIGHT')


t = int(input())
while t > 0:
	x = int(input())
	print('LEFT' if x - 1 < 100 - x else 'RIGHT')
	t -= 1


for i in range(int(input())):
	x = int(input())
	if 100 / 2 >= x:
		print('LEFT')
	else:
		print('RIGHT')


t = int(input())
for i in range(t):
	n = int(input())
	if n <= 50:
		print('LEFT')
	elif n > 50 and n <= 100:
		print('RIGHT')


for _ in range(int(input())):
	x = int(input())
	if 1 <= x <= 50:
		print('LEFT')
	elif 51 <= x <= 100:
		print('RIGHT')


T = int(input())
for i in range(T):
	X = int(input())
	if X <= 50:
		print('LEFT')
	else:
		print('RIGHT')


for i in range(int(input())):
	x = int(input())
	if x >= 1 and x <= 50:
		print('LEFT')
	else:
		print('RIGHT')


for i in range(0, int(input())):
	x = int(input())
	if x - 1 >= 100 - x:
		print('RIGHT')
	else:
		print('LEFT')


for i in range(0, int(input())):
	n = int(input())
	if n < 51:
		print('LEFT')
	else:
		print('RIGHT')


for _ in range(int(input())):
	a = int(input())
	if a - 1 < 50:
		print('LEFT')
	elif a - 1 >= 50:
		print('RIGHT')


test = int(input())
while test > 0:
	x = int(input())
	if x <= 50:
		print('LEFT')
	else:
		print('RIGHT')
	test = test - 1


T = int(input())
for _ in range(T):
	x = int(input())
	if x > 50:
		print('RIGHT')
	else:
		print('LEFT')


j = int(input())
for i in range(0, j):
	k = int(input())
	if k <= 50:
		print('LEFT')
	else:
		print('RIGHT')


T = int(input())
for tc in range(T):
	X = int(input())
	if 1 <= X <= 50:
		print('LEFT')
	else:
		print('RIGHT')


B = int(input())
for i in range(0, B):
	X = int(input())
	if X <= 50:
		print('LEFT')
	else:
		print('RIGHT')


t = int(input())
i = 1
while i <= t:
	seat = int(input())
	if seat <= 50:
		print('LEFT')
	else:
		print('RIGHT')
	i = i + 1


for i in range(int(input())):
	n = int(input())
	x = n - 1
	y = 100 - n
	if min(x, y) == x:
		print('LEFT')
	else:
		print('RIGHT')