Chef has to travel to another place. For this, he can avail any one of two cab services.
The first cab service charges X rupees.
The second cab service charges Y rupees.

Chef wants to spend the minimum amount of money. Which cab service should Chef take?

------ 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 two integers X and Y - the prices of first and second cab services respectively.

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

For each test case, output FIRST if the first cab service is cheaper, output SECOND if the second cab service is cheaper, output ANY if both cab services have the same price.

You may print each character of FIRST, SECOND and ANY in uppercase or lowercase (for example, any, aNy, Any will be considered identical).

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

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

----- Sample Input 1 ------ 
3
30 65
42 42
90 50

----- Sample Output 1 ------ 
FIRST
ANY
SECOND

----- explanation 1 ------ 
Test case $1$: The first cab service is cheaper than the second cab service. 

Test case $2$: Both the cab services have the same price.

Test case $3$: The second cab service is cheaper than the first cab service.

Source: codechef | Difficulty: EASY


Solutions:
t = int(input())
for _ in range(t):
	(x, y) = map(int, input().split())
	if x < y:
		print('FIRST')
	elif y < x:
		print('SECOND')
	else:
		print('ANY')


t = int(input())
for i in range(t):
	(a, b) = map(int, input().split())
	if a < b:
		print('FIRST')
	elif a == b:
		print('ANY')
	else:
		print('SECOND')


r = int(input())
for i in range(r):
	st = input()
	(x, y) = st.split()
	if int(x) > int(y):
		print('SECOND')
	elif int(x) < int(y):
		print('FIRST')
	else:
		print('ANY')


for i in range(int(input())):
	(x, y) = map(int, input().split())
	if x < y:
		print('FIRST')
	elif x == y:
		print('ANY')
	else:
		print('SECOND')


t = int(input())
for u in range(t):
	(X, Y) = list(map(int, input().split()))
	if X < Y:
		print('FIRST')
	elif X == Y:
		print('ANY')
	else:
		print('SECOND')


n = int(input())
l1 = []
for i in range(n):
	n = input().split(' ')
	l1.append(n)
for i in range(len(l1)):
	if int(l1[i][0]) == int(l1[i][1]):
		print('ANY')
	elif int(l1[i][0]) >= int(l1[i][1]):
		print('SECOND')
	else:
		print('FIRST')


t = int(input())
for i in range(t):
	(n, m) = map(int, input().split())
	if n < m:
		print('FIRST')
	elif n > m:
		print('SECOND')
	else:
		print('ANY')


n = int(input())
for n in range(0, n):
	(x, y) = map(int, input().split())
	if x == y:
		print('ANY')
	elif x < y:
		print('FIRST')
	else:
		print('SECOND')


n = int(input())
for i in range(n):
	m = input().split()
	if int(m[0]) < int(m[1]):
		print('FIRST')
	elif int(m[0]) == int(m[1]):
		print('ANY')
	else:
		print('SECOND')


q = int(input())
for k in range(q):
	(g, j) = map(int, input().split())
	if g < j:
		print('FIRST')
	elif g > j:
		print('SECOND')
	else:
		print('ANY')


n = int(input())
for i in range(n):
	(p, q) = map(int, input().split())
	if p > q:
		print('SECOND')
	elif p < q:
		print('FIRST')
	elif p == q:
		print('ANY')


m = int(input())
for i in range(0, m):
	l = list(map(int, input().split()))
	if l[0] < l[1]:
		print('FIRST')
	elif l[0] > l[1]:
		print('SECOND')
	else:
		print('ANY')


for i in range(int(input())):
	(f, s) = map(int, input().split())
	if f < s:
		print('FIRST')
	elif f > s:
		print('SECOND')
	else:
		print('ANY')


t = int(input())
for i in range(t):
	(x, y) = map(int, input().split())
	if x < y:
		print('FIRST')
	if x == y:
		print('ANY')
	if x > y:
		print('SECOND')


t = int(input())
for i in range(0, t):
	(a, b) = map(int, input().split())
	if a == b:
		print('ANY')
	if a > b:
		print('SECOND')
	if a < b:
		print('FIRST')


t = int(input())
while t:
	(x, y) = map(int, input().split())
	print('FIRST' if x < y else 'ANY' if x == y else 'SECOND')
	t -= 1


i = int(input(''))
j = 0
while j < i:
	(x, y) = map(int, input('').split())
	minimum = min(x, y)
	if y == x:
		op = 'ANY'
	elif minimum == y:
		op = 'SECOND'
	else:
		op = 'FIRST'
	j += 1
	print(op)


T = int(input())
for i in range(T):
	(X, Y) = map(int, input().split())
	if X > Y:
		print('SECOND')
	elif X < Y:
		print('FIRST')
	else:
		print('ANY')


T = int(input())
for i in range(T):
	(x, y) = input().split()
	A = int(x)
	B = int(y)
	if A < B:
		print('FIRST')
	elif A == B:
		print('ANY')
	else:
		print('SECOND')


T = int(input())
for i in range(0, T):
	(X, Y) = input().split()
	x = int(X)
	y = int(Y)
	if x < y:
		print('FIRST')
	elif x == y:
		print('ANY')
	else:
		print('SECOND')