n=int(input()) if n<1400: print('green') else: print('difficult')