def discrimination(a, s):
  if 2800 <= a <5000:
    if 3200 >= a:
      print (a + '\n'  + s)
    elif a < 3200:
      print (a + '\n'  + 'red')
      
print('a ')
a = int(input())
print('s ')
s = input()

def ss(s):
  s = s.lower()
  if 1 <= len(s) < 10:
    return s

  
discrimination(a, ss(s))
