AtCoder Beginner Contest 059
B
Comparison
AtCoder
⌀ 158
原题
← AC →
翻译中…

Problem Statement

翻译中…

You are given two positive integers $A$ and $B$. Compare the magnitudes of these numbers.

翻译中…

Constraints

翻译中…
  • $1 ≤ A, B ≤ 10^{100}$
  • Neither $A$ nor $B$ begins with a 0.
翻译中…

Input

翻译中…

Input is given from Standard Input in the following format:

翻译中…

A
B

翻译中…

Output

翻译中…

Print GREATER if $A>B$, LESS if $A<B$ and EQUAL if $A=B$.

翻译中…

样例

Input #1
36
24
Output #1
GREATER
Since $36>24$, print `GREATER`.
Input #2
850
3777
Output #2
LESS
Input #3
9720246
22516266
Output #3
LESS
Input #4
123456789012345678901234567890
234567890123456789012345678901
Output #4
LESS
题目信息
题号
abc059_b
时间限制
2 s
内存限制
256 MB

题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。