while True:
    try:
        a = int(input())
        if a >= 140:
            print("Genius")
    except:
        break