while true do
  local a =io.read()
  if a == nil then return end
  print(a)
end

while true do
  local s =io.read()
  if s == nil then return end
  print(s)
end

if a >= 3200 then
    print(s)
else 
    print('red')
end