F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

MZL's chemistry

Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others)
Total Submission(s): 1052    Accepted Submission(s): 693


Problem 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 $x\neq y$
 

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
 

Author
SXYZ
 

Source
 

Statistic | Submit | Discuss | Note
Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-05-03 03:28:38, Gzip enabled