a=eval(input())

b=eval(input())

if int(a)>=3200:

	print(b)

else:

  print("red")
a=eval(input())

b=eval(input())

if int(a)>=3200:

	print(b)

elif int(a)<3200:

    print("red")

a = eval(input())
b = eval(input())
if int(a) >= 3200:
    print(b)
else:
    print("red")

a = eval(input())
b = eval(input())
if int(a) >= 3200:
    print(b)
elif int(a) < 3200:
    print("red")

-else: +elif int(a) < 3200: