You are given two positive integers A and B. Compare the magnitudes of these numbers.
def main():
    a = int(input())
    b = int(input())

    if a > b:
        print("GRATER")
    elif a < b:
        print("LESS")
    else:
        print("EQUAL")


if __name__ == "__main__":

    main()

def main():
    a = int(input())
    b = int(input())

    if a > b:
        print("GREATER")
    elif a < b:
        print("LESS")
    else:
        print("EQUAL")


if __name__ == "__main__":

    main()
