MZL's chemistry

Time Limit
1s
Memory Limit
65536KB
Judge Program
Standard
Ratio(Solve/Submit)
100.00%(2/2)
Description:

MZL define F(X) as the first ionization energy of the chemical element X

Now he get two chemical elements U,V,given as their atomic number,he wants to compare F(U) and F(V)

It is guaranteed that atomic numbers belongs to the given set:{1,2,3,4,..18,35,36,53,54,85,86}

It is guaranteed the two atomic numbers is either in the same period or in the same group

It is guaranteed that xy

Input:

There are several test cases

For each test case,there are two numbers u,v,means the atomic numbers of the two element

Output:

For each test case,if F(u)>F(v),print "FIRST BIGGER",else print"SECOND BIGGER"

Sample Input:
1 2
5 3
Sample Output:
SECOND BIGGER
FIRST BIGGER
Source:

2015 Multi-University Training Contest 5


Submit