Problem:


Score : 100 points

Problem Statement

You will be given an integer a and a string s consisting of lowercase English letters as input.

Write a program that prints s if a is not less than 3200 and prints red if a is less than 3200.

Constraints

2800 \leq a < 5000

s is a string of length between 1 and 10 (inclusive).

Each character of s is a lowercase English letter.

Input

Input is given from Standard Input in the following format:

a
s

Output

If a is not less than 3200, print s; if a is less than 3200, print red.

Sample Input 1

3200
pink

Sample Output 1

pink

a = 3200 is not less than 3200, so we print s = pink.

Sample Input 2

3199
pink

Sample Output 2

red

a = 3199 is less than 3200, so we print red.

Sample Input 3

4049
red

Sample Output 3

red

a = 4049 is not less than 3200, so we print s = red.



Sample input:
3200
pink


Sample output:
pink

Submission status: Accepted

Solution code:
a = int(input())
s = input()
if 1 <= len(s) & len(s) <= 10:
    if 3200 <= a & a < 5000:
        print(s)
    elif 2800 <= a & a < 3200:
        print('red')

Submission status: Accepted

Solution code:
a=int(input())
s=input()

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

Submission status: Accepted

Solution code:
a = int(input())
s = input()
if a < 3200:
    print("red")
else:
    print(s)

Submission status: Accepted

Solution code:
a = int(input())
s = input()
if a >= 3200:
	print(s)
else:
	print('red')

Submission status: Accepted

Solution code:
# 138a https://atcoder.jp/contests/abc138/tasks/abc138_a

# 入力
a = int(input())
s = input()

# 処理
if a < 2800 or a >= 5000:
    answer = '制約値外です'
elif a >= 3200:
    answer = s
elif a < 3200:
    answer ='red'

# 出力
print(answer)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
i = [input() for i in range(2)]
if i[0]>="3200":
    print(i[1])
else:
    print("red")

Submission status: Accepted

Solution code:
# 数値と色の取得
a = int(input())
s = input()
 
# 数値で判断して文字列を出力
if a >= 3200:
    print(s)
else:
    print("red")

Submission status: Accepted

Solution code:
# 整数 a と、英小文字からなる文字列 s が入力されます。
# a が 3200以上なら s と出力し、a が 3200 未満なら red と出力するプログラムを書いてください。

# 標準入力から 整数a と文字列s を取得する
input_a = int(input())
input_s = input()

# a が3200以上／3200未満 なのかを判定する
# # output_s = 'Error: Input Value is OutOfRange. Sorry!'
# # if (input_a <= 2800) or (input_a >= 5000):
# #     output_s = output_s
# else:

output_s = 'pink'
if input_a >= 3200:
    output_s = input_s
elif input_a < 3200:
    output_s = 'red'

# 結果を出力する
print(output_s)

Submission status: Accepted

Solution code:
# 整数 a と、英小文字からなる文字列 s が入力されます。
# a が 3200以上なら s と出力し、a が 3200 未満なら red と出力するプログラムを書いてください。

# 標準入力から 整数a と文字列s を取得する
input_a = int(input())
input_s = input()

# a が3200以上／3200未満 なのかを判定する
# # output_s = 'Error: Input Value is OutOfRange. Sorry!'
# # if (input_a <= 2800) or (input_a >= 5000):
# #     output_s = output_s
# else:
output_s = 'pink'
if input_a >= 3200:
    output_s = input_s
elif input_a < 3200:
    output_s = 'red'

# 結果を出力する
print(output_s)

Submission status: Accepted

Solution code:
a =int(input())      # 整数a

s = input()      # 文字列s


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

Submission status: Accepted

Solution code:
a = int (input ())
s = input ()
if a < 3200:
  print ('red')
else:
  print (s)

Submission status: Accepted

Solution code:
a = int(input())
s = input()

if a < 3200:
    print('red')
else:
    print(s)

Submission status: Accepted

Solution code:
# 138A
# aが3200以上であれば入力値、以下は'red'

# 入力
a = int(input())
s = str(input())

if a >= 3200:
    print(s)
elif a <= 3200:
    print("red")

Submission status: Accepted

Solution code:
a=int(input())
s=input()
if a>=3200:
  print(s)
else:
  print('red')

Submission status: Accepted

Solution code:
# A- Red or Not
a = int(input())
s = input()

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

Submission status: Accepted

Solution code:
# 138a

a = int(input())    # 整数aを入力

s = input() # 文字列sを入力

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

Submission status: Accepted

Solution code:
n=int(input())
s=input()
     
     
if n>=3200:
  print(s)
else:
  print('red')

Submission status: Accepted

Solution code:
a=int(input())
s=input()
if a >= 3200:
    print(s)
else:
    print("red")

Submission status: Accepted

Solution code:
# 入力
a = int(input(''))
s = input('')

# aが3200以上ならsを出力、3200未満ならredと出力する
if a >= 3200:
    print(s)
else:
    print('red')

Submission status: Accepted

Solution code:
a = input()
s = input()

if a >= '3200':
    print(s)    
if a < '3200':
    print('red')

Submission status: Accepted

Solution code:
a = input()
s = input()
if a >= '3200':
    print(s)
if a < '3200':
    print('red')

Submission status: Accepted

Solution code:
a = int(input())
s = (input())

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

Submission status: Accepted

Solution code:
a = int(input())
s =input()

if a >= 3200:
    print("%s" %s)
else:
    print("red")

Submission status: Accepted

Solution code:
data1,data2 = [input() for i in range(2)]
data1 = int(data1)
if data1 >= 3200:
    print(data2)
else:
    print('red')

Submission status: Accepted

Solution code:
print(input() if int(input())>=3200 else 'red')

Submission status: Accepted

Solution code:
print(input() if input()>='3200' else 'red')

Submission status: Accepted

Solution code:
for i in range(1):
    a = int(input())
    s = input()
if a < 3200:
    print("red")
else:
    print(s)

Submission status: Accepted

Solution code:
a=int(input())
s=input()

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

Submission status: Accepted

Solution code:
# 整数aを入力する
a=int(input())

# 文字列sを入力する
s=input()
# 整数aが3200以上なら文字列sを出力
if a>=3200:
    print(s)
# そうでないなら red を出力
else:
    print('red')

Submission status: Accepted

Solution code:
#整数aと文字列bを入力する
a = int(input())
s = input()
#aが3200以上であればsと出力
if a >= 3200:
    print(s)
#そうでなければredと出力
else:
    print("red")

Submission status: Accepted

Solution code:
#aとbを入力する
a = input()
s = input()
#aを整数にする
a = int(a)
#aが3200以上であればsと出力
if a >= 3200:
    print(s)
#そうでなければredと出力
else:
    print("red")

Submission status: Accepted

Solution code:
a = int(input())
s = input()

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

Submission status: Accepted

Solution code:
a = int(input())
b = input()
print("red" if a < 3200 else b)

Submission status: Accepted

Solution code:
a = int(input())
b = input()

if a < 3200 and b:
    print("red")
else:
    print(b)

Submission status: Accepted

Solution code:
a = int(input())
s = input()
if a >= 3200:
    print(s)
else:
    print("red")

Submission status: Accepted

Solution code:
n=int(input())
s=input()
if(n>=3200):
    print(s)
else:
    print('red')

Submission status: Accepted

Solution code:
a = int(input())
#整数
s = input()
#文字列

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

Submission status: Accepted

Solution code:
a=int(input())          #整数
s=input()               #文字列
if a>=3200:
    print(s)
else:
    print("red")

Submission status: Accepted

Solution code:
a = input()
s = input()

if int(a) >= 3200:
    print(s)
else:
    print('red')

Submission status: Accepted

Solution code:
a=int(input())
s=input()
if(a>=3200):
    print(s)
else:
    print("red")

Submission status: Accepted

Solution code:
print('red' if int(input())<3200 else input())

Submission status: Accepted

Solution code:
# A - Red or Not

# 整数 a の入力
a = int(input())

# 文字列 s の入力
s = input()

# print(a)
# print(s)

if a >= 3200:
    # print(s)
    answer = s
else:
    # print('red')
    answer = 'red'

# 結果の出力
print(answer)

Submission status: Accepted

Solution code:
# A - Red or Not

# 整数 a の入力
a = int(input())

# 文字列 s の入力
s = input()

# print(a)
# print(s)

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

Submission status: Accepted

Solution code:
# 138A

a = int(input())
s = input()

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

Submission status: Accepted

Solution code:
first_input = int(input())
second_input = input()

if first_input >= 3200:
    print(second_input)
else:
    print('red')

Submission status: Accepted

Solution code:
a=int(input())
s=input()
#print(a,s)

if a>=3200:
    print(s)
if a<3200:
    print("red")

Submission status: Accepted

Solution code:
a = int(input())
s = input()

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

Submission status: Accepted

Solution code:
import sys
import heapq
import math
import fractions
import bisect
import itertools
from collections import Counter
from collections import deque
from operator import itemgetter
def input(): return sys.stdin.readline().strip()
def mp(): return map(int,input().split())
def lmp(): return list(map(int,input().split()))

a=int(input())
s=input()
if a<3200:
    print("red")
else:
    print(s)

Submission status: Accepted

Solution code:
a = int(input())
s = input()
print(s if a>=3200 else 'red')

Submission status: Accepted

Solution code:
a = int(input())
s = input()

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

Submission status: Accepted

Solution code:
N=int(input())
S=input()

if N>=3200:
    print(S)
else:
    print("red")

Submission status: Accepted

Solution code:
a = int(input())
s = (input())
# a,b=map(int,input().split())
# al=list(map(int,input().split()))
#l=[list(map(int,input().split())) for i in range(n)]
if a >= 3200:
    print(s)
else:
    print('red')

Submission status: Accepted

Solution code:
a = int(input())
s = input()

if a >= 3200:
    print(s)
else:
    print("red")

Submission status: Accepted

Solution code:

def main():
    a = int(input())
    s = input()
    if a >= 3200:
        print(s)
    else:
        print('red')


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
a = int(input())
s = input()
if a >= 3200:
	print(s)
else:
	print('red')

Submission status: Accepted

Solution code:
a = int(input())
s = input()
if a < 3200:
  print("red")
else:
  print(s)

Submission status: Accepted

Solution code:
a = int(input())
s = input()
print(s) if a >= 3200 else print('red')

Submission status: Accepted

Solution code:
a=int(input())
s=str(input())
if a>=3200:
    print(s)
else:
    print("red")

Submission status: Accepted

Solution code:
a,s = int(input()),input()
print(s if a>=3200 else 'red')

Submission status: Accepted

Solution code:
a = int(input())
s = input()
print(s) if a >= 3200 else print("red")

Submission status: Accepted

Solution code:
a = int(input())
s = input()

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

Submission status: Accepted

Solution code:
a=int(input())
print(input() if a>3199 else "red")

Submission status: Accepted

Solution code:
a = int(input())
s = input().rstrip()
if a >= 3200:
    print(s)
else:
    print("red")

Submission status: Accepted

Solution code:
a = int(input())
s = input()
if a >= 3200:
    print(s)
else:
    print('red')

Submission status: Accepted

Solution code:
a = int(input())
b = input()
print("red" if a<3200 else b)

Submission status: Accepted

Solution code:
if int(input())<3200:
  print("red")
else:
  print(input())

Submission status: Accepted

Solution code:
a=int(input())
s=str(input())
if a >= 3200:
  print(s)
else:
  print("red")

Submission status: Accepted

Solution code:
a = int(input())
s = str(input())

if 3200 <= a:
    print(s)
else:
    print('red')

Submission status: Accepted

Solution code:
a = int(input())
s = input()
if a <3200:
    ans = 'red'
else:
    ans = s
print(ans)

Submission status: Accepted

Solution code:
a = int(input())
s = input()

print(s if (a >= 3200) else "red")

Submission status: Accepted

Solution code:
#k = int(input())
#s = input()
#a, b = map(int, input().split())
#s, t = map(str, input().split())
#l = list(map(int, input().split()))


a = int(input())
s = input()

if (a >= 3200):
    print(s)
else:
    print("red")

Submission status: Accepted

Solution code:
a = int(input())
s = input()

if a>= 3200:
    print(s)
else:
    print("red")

Submission status: Accepted

Solution code:
x=int(input())
a=input()
if x>=3200:
  print(a)
else:
  print('red')

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

a = int(input())
s = input()

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

Submission status: Accepted

Solution code:
a = [str(input()) for i in range(2)]
if int(a[0]) >= 3200:
  my_result = a[1]
else:
  my_result = 'red'
print(my_result)

Submission status: Accepted

Solution code:
n = int(input())
s = input()

print(s) if n >= 3200 else print("red")

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

def main():

    a = int(input())
    s = input()

    if a >= 3200:
        ans = s

    else:
        ans = 'red'

    print(ans)


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
from fractions import gcd
from collections import Counter, deque, defaultdict
from heapq import heappush, heappop, heappushpop, heapify, heapreplace, merge
from bisect import bisect_left, bisect_right, bisect, insort_left, insort_right, insort
from itertools import product, combinations,permutations
from copy import deepcopy
import sys
sys.setrecursionlimit(4100000)



if __name__ == '__main__':
    a = int(input())
    s = input()

    if a>=3200:
        print(s)
    else:
        print("red")

Submission status: Accepted

Solution code:
a=int(input())
s=input()
if a>=3200:
  print(s)
else:
  print("red")

Submission status: Accepted

Solution code:
a,s=int(input()),input();print(['red',s][a>=3200])

Submission status: Accepted

Solution code:
# abc138_a.py
# https://atcoder.jp/contests/abc138/tasks/abc138_a

# A - Red or Not /
# 実行時間制限: 2 sec / メモリ制限: 1024 MB
# 配点 : 100点

# 問題文
# 整数 aと、英小文字からなる文字列 sが入力されます。
# aが 3200 以上なら s と出力し、a が 3200未満なら red と出力するプログラムを書いてください。

# 制約
#     2800≤a<5000
#     sは長さ 1 以上 10以下の文字列である。
#     sの各文字は英小文字である。

# 入力
# 入力は以下の形式で標準入力から与えられる。
# a
# s

# 出力
# aが 3200 以上なら s と出力し、a が 3200未満なら red と出力せよ。

# 入力例 1
# 3200
# pink

# 出力例 1
# Copy

# pink

# a=3200は 3200 以上であるため s=pink と出力します。

# 入力例 2
# 3199
# pink

# 出力例 2
# red

# a=3199は 3200未満であるため red と出力します。

# 入力例 3
# 4049
# red

# 出力例 3
# red

# a=4049は 3200 以上であるため s= red と出力します。


global FLAG_LOG
FLAG_LOG = False


def log(value):
    # FLAG_LOG = True
    # FLAG_LOG = False
    if FLAG_LOG:
        print(str(value))


def calculation(lines):
    s = lines[1]
    a = int(lines[0])
    # X, A = list(map(int, lines[0].split()))
    # values = list(map(int, lines[1].split()))
    # values = list(map(int, lines[2].split()))
    # values = list()
    # for i in range(6):
    #     values.append(int(lines[i]))
    # valueses = list()
    # for i in range(M):
    #     valueses.append(list(map(int, lines[i+1].split())))

    if a >= 3200:
        result = s
    else:
        result = 'red'

    return [result]


# 引数を取得
def get_input_lines(lines_count):
    lines = list()
    for _ in range(lines_count):
        lines.append(input())
    return lines


# テストデータ
def get_testdata(pattern):
    if pattern == 1:
        lines_input = ['3200', 'pink']
        lines_export = ['pink']
    if pattern == 2:
        lines_input = ['3199', 'pink']
        lines_export = ['red']
    if pattern == 3:
        lines_input = ['4049', 'red']
        lines_export = ['red']
    return lines_input, lines_export


# 動作モード判別
def get_mode():
    import sys
    args = sys.argv
    global FLAG_LOG
    if len(args) == 1:
        mode = 0
        FLAG_LOG = False
    else:
        mode = int(args[1])
        FLAG_LOG = True
    return mode


# 主処理
def main():
    import time
    started = time.time()
    mode = get_mode()
    if mode == 0:
        lines_input = get_input_lines(2)
    else:
        lines_input, lines_export = get_testdata(mode)

    lines_result = calculation(lines_input)

    for line_result in lines_result:
        print(line_result)

    # if mode > 0:
    #     print(f'lines_input=[{lines_input}]')
    #     print(f'lines_export=[{lines_export}]')
    #     print(f'lines_result=[{lines_result}]')
    #     if lines_result == lines_export:
    #         print('OK')
    #     else:
    #         print('NG')
    # finished = time.time()
    # duration = finished - started
    # print(f'duration=[{duration}]')


# 起動処理
if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
a=int(input())
ans=input()

if a < 3200:
    ans = 'red'

print(ans)

Submission status: Accepted

Solution code:
a=int(input())
s=input()
if a >=3200:
  print(s)
else:
  print("red")

Submission status: Accepted

Solution code:
a=int(input())
s=input()
if a>3199:
  print(s)
else:
  print("red")

Submission status: Accepted

Solution code:
def resolve():
    a = int(input())
    s = input()
    if a >= 3200:
        print(s)
    else:
        print("red")


resolve()

Submission status: Accepted

Solution code:
x=int(input())
s=input()
if x>=3200:
  print(s)
else:
  print('red')

Submission status: Accepted

Solution code:
a = int(input())
s = input()
print("red" if a<3200 else s)

Submission status: Accepted

Solution code:
a=int(input())
if a>=3200:print(input())
else:
  print('red')
  _=input()

Submission status: Accepted

Solution code:
a = int(input())
s = input()
print(s if a >= 3200 else 'red')

Submission status: Accepted

Solution code:
a=int(input())
s=input()
if a<3200:
  print('red')
else:
  print(s)

Submission status: Accepted

Solution code:
if int(input()) >= 3200:
  print(input())
else:
  print("red")

Submission status: Accepted

Solution code:
a = int(input())
s = input()
if a < 3200:
    s = "red"
print(s)

Submission status: Accepted

Solution code:
a = int(input())
s = input()

print('red' if a < 3200 else s)

Submission status: Accepted

Solution code:
a = int(input())
s = str(input())
if a >= 3200:
    print(s)
else:
    print('red')

Submission status: Accepted

Solution code:
if __name__ == "__main__":
    n = int(input())
    s = input()
    if n>3199:
        print(s)
    else:
        print("red")

Submission status: Accepted

Solution code:
# 2020/07/19
# AtCoder Beginner Contest 138 - A

# Input
a = int(input())
s = input()

# Calc
if a < 3200:
    ans = 'red'
else:
    ans = s

# Output
print(ans)

Submission status: Accepted

Solution code:
#from statistics import median
#import collections
#aa = collections.Counter(a) # list to list || .most_common(2)で最大の2個とりだせるお a[0][0]
from fractions import gcd
from itertools import combinations,permutations,accumulate # (string,3) 3回
#from collections import deque
from collections import deque,defaultdict,Counter
import decimal
import re
#import bisect
#
#    d = m - k[i] - k[j]
#    if kk[bisect.bisect_right(kk,d) - 1] == d:
#
#
#
# pythonで無理なときは、pypyでやると正解するかも！！
#
#
# my_round_int = lambda x:np.round((x*2 + 1)//2)
# 四捨五入
import sys
sys.setrecursionlimit(10000000)
mod = 10**9 + 7
#mod = 9982443453
def readInts():
  return list(map(int,input().split()))
def I():
  return int(input())
a = I()
s = input()
print(s if a >= 3200 else 'red')

Submission status: Accepted

Solution code:
def check():
  a = int(input())
  s = input()
  if a>=3200:
    return s
  return 'red'
print(check())

Submission status: Accepted

Solution code:
a = int(input())
s = input()
print("red") if a < 3200 else print(s)

Submission status: Accepted

Solution code:
a = int(input())
s = input().strip()
if a>=3200:
    print(s)
else:
    print("red")

Submission status: Accepted

Solution code:
def main():
    a = int(input())
    s = input()
    print(s if a >= 3200 else "red")


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
a=int(input())
b=str(input())
if a>=3200:
    print(b)
else:
    print('red')

Submission status: Accepted

Solution code:
import sys


def input():
    return sys.stdin.readline().rstrip()


def main():
    a = int(input())
    if a >=3200:
        print(input())
    else:
        print("red")

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
import sys
a = int(input())
s = input()

if not ( 2800 <= a < 5000 ): sys.exit()
if not ( 1 <= len(s) <= 10 ): sys.exit()
if not s.islower(): sys.exit()

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

Submission status: Accepted

Solution code:
a=int(input())
s=input()
if a >= 3200:
  print(s)
else:
  print("red")

Submission status: Accepted

Solution code:
a=int(input())
s=input()
if(a>=3200):
  print(s)
else:
  print("red")

Submission status: Accepted

Solution code:
a=input()
s=input()
print((a<'32')*'red' or s)

Submission status: Accepted

Solution code:
a=int(input())
s=input()
print((a<3200)*'red' or s)

Submission status: Accepted

Solution code:
a = int(input())
s =input()
if a < 3200:
  print("red")
else:
  print(s)

Submission status: Accepted

Solution code:
import math
import collections
import itertools
import heapq

def main():
    a = int(input())
    s = input()
    if a >= 3200:
        print(s)
    else:
        print("red")
    

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
if int(input())<3200:
  print("red")
else:
  print(input())

Submission status: Accepted

Solution code:
a = int(input())
s = input()

print(s if a >= 3200 else "red")

Submission status: Accepted

Solution code:
a=int(input())
s=input()
if a>=3200:
    print(s)
else: 
    print('red')

Submission status: Accepted

Solution code:
def main():
 a = int(input())
 s = input()
 if a >= 3200:
     print(s)
 else:
     print('red')
main()

Submission status: Accepted

Solution code:
import sys
def input(): return sys.stdin.readline().strip()
def mapint(): return map(int, input().split())
sys.setrecursionlimit(10**9)

a = int(input())
s = input()

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

Submission status: Accepted

Solution code:
a = int(input())
s = input()

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

Submission status: Accepted

Solution code:
a = int(input())
s = input()

if a>=3200:
  print(s)
else:
  print("red")

Submission status: Accepted

Solution code:
n = int(input())
s = input()
print('red' if n < 3200 else s)

Submission status: Accepted

Solution code:
###==================================================
### import
#import bisect
#from collections import Counter, deque, defaultdict
#from copy import deepcopy
#from functools import reduce, lru_cache
#from heapq import heappush, heappop
#import itertools
#import math
#import string
import sys
### stdin
def input(): return sys.stdin.readline().rstrip()
def iIn(): return int(input())
def iInM(): return map(int, input().split())
def iInM1(): return map(int1, input().split())
def iInLH(): return list(map(int, input().split()))
def iInLH1(): return list(map(int1, input().split()))
def iInLV(n): return [iIn() for _ in range(n)]
def iInLV1(n): return [iIn()-1 for _ in range(n)]
def iInLD(n): return [iInLH() for _ in range(n)]
def iInLD1(n): return [iInLH1() for _ in range(n)]
def sInLH(): return list(input().split())
def sInLV(n): return [input().rstrip('\n') for _ in range(n)]
def sInLD(n): return [sInLH() for _ in range(n)]
### stdout
def OutH(lst, deli=' '): print(deli.join(map(str, lst)))
def OutV(lst): print('\n'.join(map(str, lst)))
### setting
sys.setrecursionlimit(10 ** 6)
### utils
int1 = lambda x: int(x) - 1
### constants
INF = int(1e9)
MOD = 1000000007
dx = (-1, 0, 1, 0)
dy = (0, -1, 0, 1)
###---------------------------------------------------

a = iIn()
s = input()

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

Submission status: Accepted

Solution code:
a = int(input())
print(input() if a >= 3200 else "red")

Submission status: Accepted

Solution code:
def resolve():
    a = int(input())
    s = input()
    print(s if a >= 3200 else "red")
    
if '__main__' == __name__:
    resolve()

Submission status: Accepted

Solution code:
a = int(input())
if a >= 3200:
    print(input())
else:
    print("red")

Submission status: Accepted

Solution code:
a = int(input())
s = input()

if a<3200:
    print("red")
else:
    print(s)

Submission status: Accepted

Solution code:
a,s=[input() for i in range(2)]
a=int(a)
if a>=3200:
  print(s)
else:
  print("red")

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
a = int( input())
s = input()
if a >= 3200:
  print(s)
else:
  print('red')

Submission status: Accepted

Solution code:
N = int(input())
s = input()
if N<3200:
    print('red')
else:
    print(s)

Submission status: Accepted

Solution code:

print('red'if int(input()) < 3200 else input())

Submission status: Accepted

Solution code:
#<ABC138>
#<A>
a = int(input())
s = input()
if a >= 3200:
    print(s)
else:
    print("red")

Submission status: Accepted

Solution code:
a = int(input())
s = input()
if a < 3200:
  print('red')
else:
  print(s)

Submission status: Accepted

Solution code:
a = int(input())
s = input()

if a < 3200:
  print("red")
else:
  print(s)

Submission status: Accepted

Solution code:
a = int(input())
b = input()

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

Submission status: Accepted

Solution code:
A = int(input())
S = input()

if A < 3200:
  print("red")
else:
  print(S)

Submission status: Accepted

Solution code:
a = int(input())
s = ['red',input()]
print(s[a>=3200])

Submission status: Accepted

Solution code:
n = int(input())
s = input()

if n < 3200:
  print("red")
else:
  print(s)

Submission status: Accepted

Solution code:
a = int(input())
s = input()
if a >= 3200:
    print(s)
if a < 3200:
    print('red')

Submission status: Accepted

Solution code:
a = int(input())
s = input()

if a>=3200:
	print(s)
else :
	print("red")

Submission status: Accepted

Solution code:
a = int(input())
s = input()
if a >= 3200:
    print(s)
elif 3200 > a:
    print('red')

Submission status: Accepted

Solution code:
# from collections import Counter
# n = int(input())
# li = list(map(int, input().split()))
# a, b = map(int, input().split())
a = int(input())
s = input()
print("red" if a < 3200 else s)

Submission status: Accepted

Solution code:
a = int(input())
s = input()

if a >= 3200:
    print(s)
elif 3200 > a:
    print('red')

Submission status: Accepted

Solution code:
import sys
import math
import itertools
import collections
import heapq
import re
import numpy as np

rr = lambda: sys.stdin.readline().rstrip()
rs = lambda: sys.stdin.buffer.readline().split()
ri = lambda: int(sys.stdin.readline())
rm = lambda: map(int, sys.stdin.buffer.readline().split())
rl = lambda: list(map(int, sys.stdin.readline().split()))
inf = float('inf')
mod = 10**9 + 7

print('red' if ri()<3200 else rr())

Submission status: Accepted

Solution code:
a = int(input())
s = input()
ans = s if a >= 3200 else "red"
print(ans)

Submission status: Accepted

Solution code:
def main():
    a=int(input())
    b=input()
    if(a>=3200):
        print(b)
    else:
        print('red')

main()

Submission status: Accepted

Solution code:
a=int(input())
s=input()

if a>=3200:
	print(s)
else:
	print("red")

Submission status: Accepted

Solution code:
a = int(input())
s = input()

if 3200 <= a:
    print(s)

else:
    print("red")

Submission status: Accepted

Solution code:
a,s = int(input()),input()
print(s if a>=3200 else "red")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = int(input())
s = input()

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

Submission status: Accepted

Solution code:
n = int(input())
if n < 3200:
  print('red')
else:
  print(input())

Submission status: Accepted

Solution code:
a = int(input())
s = input()
if a >= 3200:
    print(s)
if a < 3200:
    print('red')

Submission status: Accepted

Solution code:
a=int(input())
s=input()
if a<3200:
  print("red")
else:
  print(s)

Submission status: Accepted

Solution code:
a = int(input())
s = input()
print(s if a>=3200 else "red")

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
print((int(input()) < 3200) * "red" or input())

Submission status: Accepted

Solution code:
a = int(input())
s = str(input())
if a >= 3200:
  print(s)
else:
  print('red')

Submission status: Accepted

Solution code:
import sys
input = lambda: sys.stdin.readline().rstrip()

def main():
    a = int(input())
    s = input()
    if a >= 3200:
        print(s)
    else:
        print('red')

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
a = int(input())
s = input()
if a<3200:
  print("red")
elif a>=3200:
  print(s)

Submission status: Accepted

Solution code:
import sys, math
input = sys.stdin.readline
rs = lambda: input().strip()
ri = lambda: int(input())
rl = lambda: list(map(int, input().split()))
mod = 10**9 + 7

a = ri()
s = rs()

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

Submission status: Accepted

Solution code:
def yn(yn):
    if yn:
        print("Yes")
    else:
        print("No")


a = input()
b = input()

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

Submission status: Accepted

Solution code:
def yn(yn):
    if yn:
        print("Yes")
    else:
        print("No")


a = int(input())
s = input()
if a >= 3200:
    print(s)
else:
    print("red")
# x = list(map(int, input().split()))

Submission status: Accepted

Solution code:
import sys

def I(): return int(sys.stdin.readline().rstrip())
def S(): return sys.stdin.readline().rstrip()

a = I()
s = S()

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

Submission status: Accepted

Solution code:
a,s=open(0)
print(s*(a>'32')or'red')

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

a = int(input())
s = str(input())

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

Submission status: Accepted

Solution code:
a = int(input())
s = input()
if(a<3200):
    print('red')
else:
    print(s)

Submission status: Accepted

Solution code:
a = int(input())
s = input()

print(s) if a >= 3200 else print("red")

Submission status: Accepted

Solution code:
x = int(input())
s = input()
if x >= 3200:
    print(s)
else:
    print('red')

Submission status: Accepted

Solution code:
a=int(input())
s=input()
print(s if a >= 3200 else 'red')

Submission status: Accepted

Solution code:
a=int(input())
s=input()

if a >= 3200:
    print(s)
else:
    print("red")

Submission status: Accepted

Solution code:
a = int(input(""))
s = input("")
if a >= 3200:
  print(s)
else:
  print('red')

Submission status: Accepted

Solution code:
n = int(input())
s = input()
if n < 3200:
  print("red")
else:
  print(s)

Submission status: Accepted

Solution code:
import sys

read = sys.stdin.read
readline = sys.stdin.readline
readlines = sys.stdin.readlines
sys.setrecursionlimit(10 ** 9)
INF = 1 << 60
MOD = 1000000007


def main():
    a = int(readline())
    s = readline().strip()
    if a >= 3200:
        print(s)
    else:
        print('red')
    
    return


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
# A - Red or Not
def main():
    a = int(input())
    s = input()

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


if __name__ ==  "__main__":
    main()

Submission status: Accepted

Solution code:
a = int(input())
s = input()
if a >= 3200:
 	print (s)
else:
   print("red")

Submission status: Accepted

Solution code:
a = int(input())
s = input()
if a >= 3200:
  	print (s)
else:
    print("red")

Submission status: Accepted

Solution code:
a = int(input())
s = input()
if a >= 3200: print(s)
else: print('red')

Submission status: Accepted

Solution code:
def main():
    a = int(input())
    s = str(input())
    if a >= 3200:
        print(s)
    else:
        print('red')
main()

Submission status: Accepted

Solution code:
a = int(input())
s = input()

if a < 3200: print("red")
else: print(s)

Submission status: Accepted

Solution code:
a,s=open(0).read().split();print(["red",s][int(a)>=3200])

Submission status: Accepted

Solution code:
a = int(input())
s = input()

if 3200 <= a:
    print(s)
else:
    print("red")