N=int(input()) if N<=800: print("green") else: print("difficult")