# test: 境界値チェック N = int(input()) assert(1 <= N <= 4000) print("green" if N <= 1200 else "difficult")