#AT1070. B - Comparison

B - Comparison

当前没有测试数据。

B - Comparison

Score : $200$ points

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:

AA

BB

Output

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


36
24
GREATER

Since $36>24$, print GREATER.


850
3777
LESS

9720246
22516266
LESS

123456789012345678901234567890
234567890123456789012345678901
LESS