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.

-----Sample Input-----
36
24

-----Sample Output-----
GREATER

Since 36>24, print GREATER.
[{"code": "a = int(input())\nb = int(input())\nif a < b:\n  print(\"LESS\")\nelif a > b:\n  print(\"GREATER\")\nelse:\n  print(\"EQUAL\")", "passed": true, "time": 2.26, "memory": 14344.0, "status": "done"}, {"code": "a=int(input())\nb=int(input())\nif a>b:\n    print('GREATER')\nelif a<b:\n    print('LESS')\nelse:\n    print('EQUAL')", "passed": true, "time": 0.22, "memory": 14092.0, "status": "done"}, {"code": "a = int(input())\nb = int(input())\n\nif b < a:\n    ans = 'GREATER'\nelif a < b:\n    ans = 'LESS'\nelse:\n    ans ='EQUAL'\n\nprint(ans)", "passed": true, "time": 0.15, "memory": 14092.0, "status": "done"}, {"code": "A = int(input())\nB = int(input())\n\nif A > B:\n    print(\"GREATER\")\n\nif A < B:\n   print(\"LESS\")\n\nif A == B:\n    print(\"EQUAL\")", "passed": true, "time": 1.28, "memory": 14196.0, "status": "done"}, {"code": "a=int(input())\nb=int(input())\nif a>b:\n  print(\"GREATER\")\nelif a<b:\n  print(\"LESS\")\nelse:\n  print(\"EQUAL\")", "passed": true, "time": 0.2, "memory": 14072.0, "status": "done"}, {"code": "a = int(input())\nb = int(input())\nif a > b: print('GREATER')\nif a < b: print('LESS')\nif a == b: print('EQUAL')\n", "passed": true, "time": 0.14, "memory": 14172.0, "status": "done"}, {"code": "a=input()\nb=input()\nif len(a)==len(b):\n  if a==b:\n    print(\"EQUAL\")\n  elif a<b:\n    print(\"LESS\")\n  else:\n    print(\"GREATER\")\nelif len(a)<len(b):\n  print(\"LESS\")\nelse:\n  print(\"GREATER\")", "passed": true, "time": 0.24, "memory": 14120.0, "status": "done"}, {"code": "A = int(input())\nB = int(input())\nif A == B:\n  print(\"EQUAL\")\nif A > B:\n  print(\"GREATER\")\nif A < B:\n  print(\"LESS\")\n", "passed": true, "time": 1.3, "memory": 14312.0, "status": "done"}, {"code": "#n = int(input())\n#a, b = map(int,input().split())\n#l = list(map(int,input().split()))\n#l = [list(map(int,input().split())) for i in range(n)]\na = str(input())\nb = str(input())\nif len(a) < len(b):\n    ans = 'LESS'\nelif len(a) > len(b):\n    ans = 'GREATER'\nelse:\n    n = len(a)\n    ans = 'EQUAL'\n    for i in range(n):\n        if a[i] < b[i]:\n            ans = 'LESS'\n            break\n        elif a[i] > b[i]:\n            ans = 'GREATER'\n            break\nprint(ans)\n", "passed": true, "time": 1.27, "memory": 14196.0, "status": "done"}, {"code": "a,b=[int(input()) for i in range(2)]\nprint(\"GREATER\" if a>b else \"LESS\" if b>a else \"EQUAL\")", "passed": true, "time": 0.14, "memory": 14224.0, "status": "done"}, {"code": "a=int(input())\nb=int(input())\n\nif a>b:\n  print(\"GREATER\")\nelif a<b:\n  print(\"LESS\")\nelif a==b:\n  print(\"EQUAL\")", "passed": true, "time": 0.15, "memory": 14228.0, "status": "done"}, {"code": "A = int(input())\nB = int(input())\n\nif A == B:\n  print(\"EQUAL\")\nelif A > B:\n  print(\"GREATER\")\nelse:\n  print(\"LESS\")", "passed": true, "time": 0.15, "memory": 14200.0, "status": "done"}, {"code": "a,b=int(input()),int(input());print(['ELQEUSASL'[a<b::2],'GREATER'][a>b])", "passed": true, "time": 0.14, "memory": 14088.0, "status": "done"}, {"code": "a = int(input())\nb = int(input())\n\nif a > b:\n    print('GREATER')\nelif a < b:\n    print('LESS')\nelse:\n    print('EQUAL')", "passed": true, "time": 0.15, "memory": 14256.0, "status": "done"}, {"code": "a=int(input())\nb=int(input())\nif a > b:\n  print(\"GREATER\")\nelif a < b:\n  print(\"LESS\")\nelse:\n  print(\"EQUAL\")", "passed": true, "time": 0.14, "memory": 14320.0, "status": "done"}, {"code": "# coding: utf-8\nimport math\n\nnum1 = int(input())\nnum2 = int(input())\nif num1 == num2:\n    print(\"EQUAL\")\nelif num1 > num2:\n    print(\"GREATER\")\nelif num1 < num2:\n    print(\"LESS\")\n", "passed": true, "time": 0.29, "memory": 14192.0, "status": "done"}, {"code": "A=input()\nB=input()\n\nif len(A)>len(B):\n    print(\"GREATER\")\nelif len(A)<len(B):\n    print(\"LESS\")\nelse:\n    if A>B:\n        print(\"GREATER\")\n    elif A<B:\n        print(\"LESS\")\n    else:\n        print(\"EQUAL\")\n", "passed": true, "time": 0.15, "memory": 14064.0, "status": "done"}, {"code": "a=int(input())\nb=int(input())\n\nif a<b:\n    print(\"LESS\")\nelif a>b:\n    print(\"GREATER\")\nelse:\n    print(\"EQUAL\")", "passed": true, "time": 0.14, "memory": 14132.0, "status": "done"}, {"code": "A = input()\nB = input()\n\nif (A > B and len(A) ==len(B)) or (len(A) > len(B)):\n  print(\"GREATER\")\nelif (A < B and len(A) ==len(B)) or (len(A) < len(B)):\n  print(\"LESS\")\nelse:\n  print(\"EQUAL\")", "passed": true, "time": 0.14, "memory": 14272.0, "status": "done"}, {"code": "A = int(input())\nB = int(input())\n\nif A > B:\n  print(\"GREATER\")\nelif A < B:\n  print(\"LESS\")\nelse:\n  print(\"EQUAL\")", "passed": true, "time": 0.14, "memory": 14144.0, "status": "done"}, {"code": "A = int(input())\nB = int(input())\nif A - B > 0:\n  print('GREATER')\nelif A - B == 0:\n  print('EQUAL')\nelse:\n  print('LESS')", "passed": true, "time": 0.14, "memory": 14248.0, "status": "done"}, {"code": "a = int(input())\nb = int(input())\nif a > b:\n    print('GREATER')\nelif a < b:\n    print('LESS')\nelse:\n    print('EQUAL')", "passed": true, "time": 0.15, "memory": 14196.0, "status": "done"}, {"code": "a,b=int(input()),int(input())\nif a>b:\n  print('GREATER')\nelif a<b:\n  print('LESS')\nelse:\n  print('EQUAL')", "passed": true, "time": 0.14, "memory": 14104.0, "status": "done"}, {"code": "a = input()\nb = input()\n\nlen_a = len(a)\nlen_b = len(b)\n\nif len_a > len_b:\n    print('GREATER')\nelif len_a < len_b:\n    print('LESS')\nelse:\n    if a > b:\n        print('GREATER')\n    elif a < b:\n        print('LESS')\n    else:\n        print('EQUAL')", "passed": true, "time": 0.14, "memory": 14196.0, "status": "done"}, {"code": "a = int(input())\nb = int(input())\n\nif a > b:\n    print(\"GREATER\")\nelif a < b:\n    print(\"LESS\")\nelse:\n    print(\"EQUAL\")\n", "passed": true, "time": 0.14, "memory": 14204.0, "status": "done"}, {"code": "#ABC059B\na = int(input())\nb = int(input())\nprint(\"GREATER\" if a>b else \"LESS\" if a<b else \"EQUAL\")", "passed": true, "time": 0.14, "memory": 14220.0, "status": "done"}, {"code": "a = int(input())\nb = int(input())\nprint(('GREATER' if a > b else 'LESS' if a < b else 'EQUAL'))\n", "passed": true, "time": 0.14, "memory": 14136.0, "status": "done"}, {"code": "a = input()\nb = input()\nif len(a) > len(b):\n  print(\"GREATER\")\nelif len(a) < len(b):\n  print(\"LESS\")\nelse:\n  for i in range(len(a)):\n    if a[i] > b[i]:\n      print(\"GREATER\")\n      break\n    elif a[i] < b[i]:\n      print(\"LESS\")\n      break\n  else:\n    print(\"EQUAL\")", "passed": true, "time": 0.14, "memory": 14192.0, "status": "done"}, {"code": "A = int(input())\nB = int(input())\nif A > B:\n    print(\"GREATER\")\nelif A < B:\n    print(\"LESS\")\nelse:\n    print(\"EQUAL\")", "passed": true, "time": 0.14, "memory": 14336.0, "status": "done"}, {"code": "a = input()\nb = input()\nif len(a) == len(b):\n    if a == b:\n        print(\"EQUAL\")\n    else:\n        print(\"GREATER\" if a > b else \"LESS\")\nelse:\n    print(\"GREATER\" if len(a) > len(b) else \"LESS\")", "passed": true, "time": 0.14, "memory": 14096.0, "status": "done"}, {"code": "a = int(input())\nb = int(input())\nif a > b :\n  print('GREATER')\nelif a < b :\n  print('LESS')\nelse :\n  print('EQUAL')", "passed": true, "time": 0.14, "memory": 14292.0, "status": "done"}, {"code": "#59B\nA=int(input())\nB=int(input())\nif A>B:\n    print('GREATER')\nelif A<B:\n    print('LESS')\nelse:\n    print('EQUAL')", "passed": true, "time": 0.14, "memory": 14336.0, "status": "done"}, {"code": "A = int(input())\nB = int(input())\ndiff = A - B\n\nif diff > 0:\n    print(\"GREATER\")\nelif diff < 0:\n    print(\"LESS\")\nelse:\n    print(\"EQUAL\")\n", "passed": true, "time": 0.2, "memory": 14108.0, "status": "done"}, {"code": "a = input()\nb = input()\nl = max(len(a), len(b))\n\nfor i,j in zip(a.zfill(l), b.zfill(l)):\n  if int(i) > int(j):\n    print(\"GREATER\")\n    break\n  elif int(i) < int(j):\n    print(\"LESS\")\n    break\nelse:\n  print(\"EQUAL\")\n", "passed": true, "time": 0.17, "memory": 14256.0, "status": "done"}, {"code": "a=int(input())\nb=int(input())\nif a>b:\n    print(\"GREATER\")\nif a<b:\n    print(\"LESS\")\nif a==b:\n    print(\"EQUAL\")", "passed": true, "time": 0.22, "memory": 14292.0, "status": "done"}, {"code": "A = int(input())\nB = int(input())\n\nprint(\"GREATER\" if A > B else \"LESS\" if A < B else \"EQUAL\")", "passed": true, "time": 0.26, "memory": 14264.0, "status": "done"}, {"code": "import sys, math\nfrom itertools import combinations as c, product as p\nfrom collections import deque\nsys.setrecursionlimit(10**9)\nINF = float('inf')\nMOD = 10**9 + 7\n#MOD = 998244353\n\n\ndef si(): return input()\ndef ii(): return int(input())\ndef fi(): return float(input())\ndef lstr(): return input().split()\ndef lint(): return list(map(int, input().split()))\ndef lintdec(): return list(map(lambda x:int(x) - 1, input().split()))\ndef lnstr(n): return [input() for _ in range(n)]\ndef lnint(n): return [int(input()) for _ in range(n)]\ndef lint_list(n): return [lint() for _ in range(n)]\n\n\n\n############################################################\nA = ii()\nB = ii()\n\nprint('GREATER' if A > B else 'LESS' if A < B else 'EQUAL')", "passed": true, "time": 0.17, "memory": 14236.0, "status": "done"}, {"code": "#-*-coding:utf-8-*-\nimport sys\ninput=sys.stdin.readline\n\ndef main():\n    a = int(input())\n    b = int(input())\n\n    if a == b:\n        print(\"EQUAL\")\n    elif a > b:\n        print(\"GREATER\")\n    else:\n        print(\"LESS\")\n\ndef __starting_point():\n    main()\n__starting_point()", "passed": true, "time": 0.25, "memory": 14340.0, "status": "done"}, {"code": "A = int(input())\nB = int(input())\nprint('GREATER' if A > B else 'EQUAL' if A == B else 'LESS')", "passed": true, "time": 0.29, "memory": 14080.0, "status": "done"}, {"code": "a, b = [int(input()) for i in range(2)]\nif a > b:\n    print(\"GREATER\")\nelif a < b:\n    print(\"LESS\")\nelse:\n    print(\"EQUAL\")\n", "passed": true, "time": 0.14, "memory": 14060.0, "status": "done"}, {"code": "a = int(input())\nb = int(input())\n\nif a > b:\n    print(\"GREATER\")\nelif a < b:\n    print(\"LESS\")\nelse:\n    print(\"EQUAL\")", "passed": true, "time": 0.34, "memory": 14304.0, "status": "done"}, {"code": "A = int(input())\nB = int(input())\n\nif A > B:\n    print('GREATER')\nelif A < B:\n    print('LESS')\nelse:\n    print('EQUAL')", "passed": true, "time": 0.27, "memory": 14244.0, "status": "done"}, {"code": "a = int(input())\nb = int(input())\nif a<b:\n  print(\"LESS\")\nelif a==b:\n  print(\"EQUAL\")\nelse:\n  print(\"GREATER\")", "passed": true, "time": 0.14, "memory": 14132.0, "status": "done"}, {"code": "a = int(input())\nb = int(input())\n\nif a > b:\n    print(\"GREATER\")\nelif a < b:\n    print(\"LESS\")\nelif a == b:\n    print(\"EQUAL\")", "passed": true, "time": 0.14, "memory": 14132.0, "status": "done"}, {"code": "a,b=int(input()),int(input())\nif a>b:\n    print(\"GREATER\")\nelif a<b:\n    print(\"LESS\")\nelse:\n    print(\"EQUAL\")", "passed": true, "time": 0.14, "memory": 14124.0, "status": "done"}, {"code": "A = int(input())\nB = int(input())\n\nif A > B:\n    print(\"GREATER\")\nelif A < B:\n    print(\"LESS\")\nelse:\n    print(\"EQUAL\")", "passed": true, "time": 0.14, "memory": 14128.0, "status": "done"}, {"code": "a = int(input())\nb = int(input())\n\nif a > b:\n    print(\"GREATER\")\nelif a < b:\n    print(\"LESS\")\nelse:\n    print(\"EQUAL\")\n", "passed": true, "time": 0.14, "memory": 14232.0, "status": "done"}, {"code": "a  = int(input());\nb = int(input());\nif a>b: \n  print(\"GREATER\")\nelif a == b:\n  print(\"EQUAL\");\nelse:\n  print(\"LESS\")", "passed": true, "time": 0.14, "memory": 14336.0, "status": "done"}, {"code": "a=int(input())\nb=int(input())\nif a>b:\n    print('GREATER')\nelif a<b:\n    print('LESS')\nelse:\n    print('EQUAL')", "passed": true, "time": 0.14, "memory": 14208.0, "status": "done"}, {"code": "a = int(input())\nb = int(input())\nprint(('GREATER' if a > b else 'LESS' if a < b else 'EQUAL'))\n\n", "passed": true, "time": 0.15, "memory": 14140.0, "status": "done"}, {"code": "a=int(input())\nb=int(input())\nimport math\nif math.sqrt(a)==math.sqrt(b):\n  print(\"EQUAL\")\nelif math.sqrt(a)>math.sqrt(b):\n  print(\"GREATER\")\nelif math.sqrt(a)<math.sqrt(b):\n  print(\"LESS\")", "passed": true, "time": 0.14, "memory": 14176.0, "status": "done"}, {"code": "A = int(input())\nB = int(input())\nif A > B:\n    print(\"GREATER\")\nelif A < B:\n    print(\"LESS\")\nelse:\n    print(\"EQUAL\")\n", "passed": true, "time": 0.14, "memory": 14104.0, "status": "done"}, {"code": "a=int(input())\nb=int(input())\nprint(\"GREATER\" if a>b else \"LESS\" if a<b else \"EQUAL\")", "passed": true, "time": 0.14, "memory": 14256.0, "status": "done"}, {"code": "a = int(input())\nb = int(input())\nif a>b:\n    print(\"GREATER\")\nelif a<b:\n    print(\"LESS\")\nelse:\n    print(\"EQUAL\")", "passed": true, "time": 0.14, "memory": 14232.0, "status": "done"}, {"code": "a = int(input())\nb = int(input())\nif a > b:\n    print('GREATER')\nelif a < b:\n    print('LESS')\nelse:\n    print('EQUAL')", "passed": true, "time": 0.14, "memory": 14100.0, "status": "done"}, {"code": "a=int(input())\nb=int(input())\nif a>b:\n    print(\"GREATER\")\nelif a<b:\n    print(\"LESS\")\nelse:\n    print(\"EQUAL\")", "passed": true, "time": 0.14, "memory": 14304.0, "status": "done"}, {"code": "a=int(input())\nb=int(input())\nimport math\nif math.sqrt(a)==math.sqrt(b):\n  print(\"EQUAL\")\nelif math.sqrt(a)>math.sqrt(b):\n  print(\"GREATER\")\nelif math.sqrt(a)<math.sqrt(b):\n  print(\"LESS\")", "passed": true, "time": 0.22, "memory": 14292.0, "status": "done"}, {"code": "A=int(input())\nB=int(input())\nif A>B :\n  print(\"GREATER\")\nelif A==B :\n  print(\"EQUAL\")\nelse :\n  print(\"LESS\")", "passed": true, "time": 0.16, "memory": 14192.0, "status": "done"}, {"code": "a = int(input())\nb = int(input())\n\nif a > b:\n    print(\"GREATER\")\nelif a < b:\n    print(\"LESS\")\nelse:\n    print(\"EQUAL\")", "passed": true, "time": 0.14, "memory": 14240.0, "status": "done"}, {"code": "a=int(input())\nb=int(input())\nif a>b:\n  print('GREATER')\nelif a<b:\n  print('LESS')\nelse:\n  print('EQUAL')", "passed": true, "time": 0.14, "memory": 14108.0, "status": "done"}, {"code": "A = int(input())\nB = int(input())\nif A > B:\n  print('GREATER')\nelif A < B:\n  print('LESS')\nelse:\n  print('EQUAL')", "passed": true, "time": 0.14, "memory": 14196.0, "status": "done"}, {"code": "a = int(input())\nb = int(input())\nif a > b:\n  print(\"GREATER\")\nelif b > a:\n  print(\"LESS\")\nelse:\n  print(\"EQUAL\")", "passed": true, "time": 0.15, "memory": 14336.0, "status": "done"}, {"code": "#\n# abc059 b\n#\nimport sys\nfrom io import StringIO\nimport unittest\n\n\nclass TestClass(unittest.TestCase):\n    def assertIO(self, input, output):\n        stdout, stdin = sys.stdout, sys.stdin\n        sys.stdout, sys.stdin = StringIO(), StringIO(input)\n        resolve()\n        sys.stdout.seek(0)\n        out = sys.stdout.read()[:-1]\n        sys.stdout, sys.stdin = stdout, stdin\n        self.assertEqual(out, output)\n\n    def test_\u5165\u529b\u4f8b_1(self):\n        input = \"\"\"36\n24\"\"\"\n        output = \"\"\"GREATER\"\"\"\n        self.assertIO(input, output)\n\n    def test_\u5165\u529b\u4f8b_2(self):\n        input = \"\"\"850\n3777\"\"\"\n        output = \"\"\"LESS\"\"\"\n        self.assertIO(input, output)\n\n    def test_\u5165\u529b\u4f8b_3(self):\n        input = \"\"\"9720246\n22516266\"\"\"\n        output = \"\"\"LESS\"\"\"\n        self.assertIO(input, output)\n\n    def test_\u5165\u529b\u4f8b_4(self):\n        input = \"\"\"123456789012345678901234567890\n234567890123456789012345678901\"\"\"\n        output = \"\"\"LESS\"\"\"\n        self.assertIO(input, output)\n\n\ndef resolve():\n    A = int(input())\n    B = int(input())\n\n    if A > B:\n        print(\"GREATER\")\n    elif A < B:\n        print(\"LESS\")\n    else:\n        print(\"EQUAL\")\n\n\ndef __starting_point():\n    # unittest.main()\n    resolve()\n\n__starting_point()", "passed": true, "time": 0.14, "memory": 14508.0, "status": "done"}, {"code": "A = int(input())\nB = int(input())\nif A > B:\n  print('GREATER')\nelif A < B:\n  print('LESS')\nelse:\n  print('EQUAL')", "passed": true, "time": 0.38, "memory": 14200.0, "status": "done"}, {"code": "def main():\n    a = int(input())\n    b = int(input())\n\n    if a > b:\n        print('GREATER')\n    if a < b:\n        print('LESS')\n    if a == b:\n        print('EQUAL')\n\n\ndef __starting_point():\n    main()\n\n__starting_point()", "passed": true, "time": 0.14, "memory": 14076.0, "status": "done"}, {"code": "a=int(input())\nb=int(input())\nif a>b:\n    print(\"GREATER\")\nelif a<b:\n    print(\"LESS\")\nelse:\n    print(\"EQUAL\")", "passed": true, "time": 0.14, "memory": 14224.0, "status": "done"}, {"code": "a = int(input())\nb = int(input())\nprint(\"GREATER\" if a > b else \"EQUAL\" if a == b else \"LESS\")", "passed": true, "time": 0.15, "memory": 14264.0, "status": "done"}, {"code": "A = input()\nB = input()\n\nA = int(A)\nB = int(B)\n\nif A > B :\n  print(\"GREATER\")\n  \nelif A == B :\n  print(\"EQUAL\")\n  \nelse :\n  print(\"LESS\")", "passed": true, "time": 0.47, "memory": 14192.0, "status": "done"}, {"code": "a = int(input())\nb = int(input())\nif a<b:\n  print(\"LESS\")\nelif a >b:\n  print(\"GREATER\")\nelse:\n  print(\"EQUAL\")", "passed": true, "time": 0.14, "memory": 14232.0, "status": "done"}, {"code": "A = int(input())\nB = int(input())\nif A > B:\n  print(\"GREATER\")\nelif A < B:\n  print(\"LESS\")\nelse:\n  print(\"EQUAL\")", "passed": true, "time": 0.14, "memory": 14340.0, "status": "done"}, {"code": "A = int(input())\nB = int(input())\nif A > B:\n    print('GREATER')\nelif A < B:\n    print('LESS')\nelse:\n    print('EQUAL')", "passed": true, "time": 0.14, "memory": 14324.0, "status": "done"}, {"code": "a=int(input())\nb=int(input())\nif a>b:\n  print(\"GREATER\")\nelif a==b:\n  print(\"EQUAL\")\nelse:\n  print(\"LESS\")", "passed": true, "time": 0.21, "memory": 14108.0, "status": "done"}, {"code": "a=int(input())\nb=int(input())\n\nif a==b:print(\"EQUAL\")\nelif a>b:print(\"GREATER\")\nelse:print(\"LESS\")", "passed": true, "time": 0.21, "memory": 14168.0, "status": "done"}, {"code": "A = int(input())\nB = int(input())\n\nif A > B:\n    print('GREATER')\nelif A == B:\n    print('EQUAL')\nelse:\n    print('LESS')", "passed": true, "time": 0.15, "memory": 14320.0, "status": "done"}, {"code": "a = int(input())\nb = int(input())\nif a == b:\n    print('EQUAL')\nelif a > b:\n    print('GREATER')\nelse:\n    print('LESS')", "passed": true, "time": 0.14, "memory": 14320.0, "status": "done"}, {"code": "a = int(input())\nb = int(input())\nif a > b:\n  print(\"GREATER\")\nelif a < b:\n  print(\"LESS\")\nelse:\n  print(\"EQUAL\")", "passed": true, "time": 0.14, "memory": 14132.0, "status": "done"}, {"code": "#-*-coding:utf-8-*-\nimport sys\ninput=sys.stdin.readline\n\ndef main():\n    a = int(input())\n    b = int(input())\n\n    if a > b :\n        print(\"GREATER\")\n    elif a  < b :\n        print(\"LESS\")\n    elif a  == b :\n        print(\"EQUAL\")\n\ndef __starting_point():\n    main()\n__starting_point()", "passed": true, "time": 0.14, "memory": 14108.0, "status": "done"}, {"code": "a=list(map(int, input().split()))\nb=list(map(int, input().split()))\nif len(a) > len(b):\n    print('GREATER')\n    return\nelif len(a) < len(b):\n    print('LESS')\n    return\nelse:\n    for i in range(len(a)):\n        if a[i] > b[i]:\n            print('GREATER')\n            return\n        elif a[i] < b[i]:\n            print('LESS')\n            return\nprint('EQUAL')", "passed": true, "time": 0.14, "memory": 14112.0, "status": "done"}, {"code": "A = int(input())\nB = int(input())\n\nif A == B:\n  print('EQUAL')\nelif A // B > 0:\n  print('GREATER')\nelse:\n  print('LESS')", "passed": true, "time": 0.15, "memory": 14196.0, "status": "done"}, {"code": "def answer(a: str, b: str) -> str:\n    if a == b:\n        return 'EQUAL'\n\n    if a < b or len(a) < len(b):\n        return 'LESS'\n\n    if a > b or len(a) > len(b):\n        return 'GREATER'\n\n\ndef main():\n    a = input()\n    b = input()\n    print(answer(a, b))\n\n\ndef __starting_point():\n    main()\n__starting_point()", "passed": true, "time": 0.14, "memory": 14096.0, "status": "done"}, {"code": "A = int(input())\nB = int(input())\nif A > B:\n  print('GREATER')\nif A < B:\n  print('LESS')\nif A == B:\n  print('EQUAL')", "passed": true, "time": 0.14, "memory": 14192.0, "status": "done"}, {"code": "a = int(input())\nb = int(input())\n\nif a>b:\n    print('GREATER')\nelif a<b:\n    print('LESS')\nelse:\n    print('EQUAL')", "passed": true, "time": 0.14, "memory": 14264.0, "status": "done"}, {"code": "a = int(input())\nb = int(input())\nprint(\"EQUAL\" if a == b else \"GREATER\" if a > b else \"LESS\")", "passed": true, "time": 0.14, "memory": 14072.0, "status": "done"}, {"code": "a = int(input())\nb = int(input())\n\nif a == b:\n   print('EQUAL')\nelif a < b:\n   print('LESS')\nelse:\n   print('GREATER')", "passed": true, "time": 0.14, "memory": 14072.0, "status": "done"}, {"code": "a,b = [int(input()) for _ in range(2)]\nif a == b:\n    print(\"EQUAL\")\nelif a > b:\n    print(\"GREATER\")\nelse:\n    print(\"LESS\")", "passed": true, "time": 0.14, "memory": 14028.0, "status": "done"}, {"code": "a=int(input())\nb=int(input())\nif a>b:\n  print(\"GREATER\")\nelif a==b:\n  print(\"EQUAL\")\nelse:\n  print(\"LESS\")", "passed": true, "time": 0.14, "memory": 14200.0, "status": "done"}, {"code": "a,b = [int(input()) for i in range(2)]\nprint(\"GREATER\" if a>b\n      else \"LESS\" if a<b\n      else \"EQUAL\")", "passed": true, "time": 0.14, "memory": 14016.0, "status": "done"}, {"code": "a = int(input())\nb = int(input())\nif a > b:\n  print(\"GREATER\");\nelif a == b:\n  print(\"EQUAL\");\nelse:\n  print(\"LESS\");", "passed": true, "time": 0.14, "memory": 14092.0, "status": "done"}, {"code": "A = float(input())\nB = float(input())\n\nif A > B:\n    print('GREATER')\nelif A < B:\n    print('LESS')\nelse:\n    print('EQUAL')\n", "passed": true, "time": 0.14, "memory": 14308.0, "status": "done"}, {"code": "a = int(input())\nb = int(input())\n\nif a > b:\n    print('GREATER')\nelif a < b:\n    print('LESS')\nelse:\n    print('EQUAL')\n", "passed": true, "time": 0.14, "memory": 14204.0, "status": "done"}, {"code": "a=int(input())\nb=int(input())\nif(a==b):\n print(\"EQUAL\")\nelif(a>b):\n    print(\"GREATER\")\nelse:\n    print(\"LESS\")", "passed": true, "time": 0.14, "memory": 14088.0, "status": "done"}, {"code": "a = int(input())\nb = int(input())\nif a > b:\n    print('GREATER')\nelif a < b:\n    print('LESS')\nelse:\n    print('EQUAL')", "passed": true, "time": 0.14, "memory": 14108.0, "status": "done"}, {"code": "a,b = [int(input()) for i in range(2)]\n\nif a>b:\n    print(\"GREATER\")\n\nelif a<b:\n    print(\"LESS\")\nelse:\n    print(\"EQUAL\")", "passed": true, "time": 0.14, "memory": 14032.0, "status": "done"}, {"code": "def answer(a: int, b: int) -> str:\n    if a == b:\n        return 'EQUAL'\n\n    if a < b:\n        return 'LESS'\n\n    if a > b:\n        return 'GREATER'\n\n\ndef main():\n    a = int(input())\n    b = int(input())\n    print(answer(a, b))\n\n\ndef __starting_point():\n    main()\n__starting_point()", "passed": true, "time": 0.22, "memory": 14096.0, "status": "done"}, {"code": "A=int(input())\nB=int(input())\nif A>B:\n  print(\"GREATER\")\nelif A==B:\n  print(\"EQUAL\")\nelse:\n  print(\"LESS\")", "passed": true, "time": 0.14, "memory": 14100.0, "status": "done"}, {"code": "a=int(input())\nb=int(input())\nif a>b:\n    print(\"GREATER\")\nelif a<b:\n    print(\"LESS\")\nelse:\n    print(\"EQUAL\")", "passed": true, "time": 0.14, "memory": 14292.0, "status": "done"}, {"code": "A, B = int(input()), int(input())\nif A > B:\n    print('greater'.upper())\nif A < B:\n    print('less'.upper())\nif A == B:\n    print('equal'.upper())", "passed": true, "time": 0.14, "memory": 14088.0, "status": "done"}]