100 atcoder#ABC059B. [ABC059B] Comparison

[ABC059B] Comparison

Score : 200200 points

Problem Statement

You are given two positive integers AA and BB. Compare the magnitudes of these numbers.

Constraints

  • 1A,B101001 \leq A, B \leq 10^{100}
  • Neither AA nor BB begins with a 0.

Input

Input is given from Standard Input in the following format:

AA

BB

Output

Print GREATER if A>BA>B, LESS if AandEQUALifA and `EQUAL` if A=B$.

36
24
GREATER

Since 36>2436>24, print GREATER.

850
3777
LESS
9720246
22516266
LESS
123456789012345678901234567890
234567890123456789012345678901
LESS