print("grenn" if int(input()) < 1200 else "difficult")