N = int(input()) print('green' if N < 1200 else 'difficult')