AtCoder Beginner Contest 138 - Red or Not

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-----
3200
pink

-----Sample Output-----
pink

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

Source: atcoder | Difficulty: EASY


Solutions:
N = int(input())
s = input()
if N < 3200:
	s = 'red'
print(s)


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


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


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


v = int(input())
s = input()
if v < 3200:
	print('red')
else:
	print(s)


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


S = int(input())
A = input()
if S < 3200:
	print('red')
else:
	print(A)


n = int(input())
c = input()
print('red' if n < 3200 else c)


a = int(input())
print(['red', input()][3200 <= a])


x = int(input())
y = input()
if x < 3200:
	print('red')
else:
	print(y)


(a, s) = open(0)
print(s) if int(a) >= 3200 else print('red')


print((int(input()) < 3200) * 'red' or input())


s = int(input())
t = input()
print(t if 3200 <= s else 'red')


n = int(input())
a = input()
print(a if n >= 3200 else 'red')


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


s = int(input())
str = input()
if s < 3200:
	print('red')
else:
	print(str)


n = int(input())
k = input()
print(k) if n >= 3200 else print('red')


n = int(input())
s = input()
if n > 3199:
	print(s)
else:
	print('red')


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


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


a = int(input())
S = input()
print(a >= 3200 and S or 'red')


a = int(input())
ans = input()
if a < 3200:
	ans = 'red'
print(ans)


(a, s) = open(0)
print(('red', s)[int(a) > 3199])


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


i = int(input())
s = input()
print(s if 3200 <= i else 'red')


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


if int(input()) > 3199:
	print(input())
else:
	print('red')


n = int(input())
m = input()
print(m if n >= 3200 else 'red')


(a, s) = open(0).read().split()
print(['red', s][int(a) >= 3200])


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


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


a = int(input())
y = input()
print('red') if a < 3200 else print(y)


a = int(input())
s = str(input())
if a < 3200:
	s = 'red'
print(s)


A = int(input())
S = input()
print(['red', S][A >= 3200])


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


a = int(input())
s = input()
if a < 2800 or 5000 <= a:
	print('数値が範囲外です')
if len(s) < 1 or 10 < len(s):
	print('文字数が範囲外です')
elif a < 3200:
	print('red')
else:
	print(s)


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


a = int(input())
S = input()
print(S if a >= 3200 else 'red')


N = int(input())
S = input()
if N < 3200:
	print('red')
else:
	print(S)


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


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


c = int(input())
s = input()
if c < 3200:
	s = 'red'
print(s)


num = int(input())
str = input()
print(str if num >= 3200 else 'red')


(a, s) = open(0)
print(s if int(a) > 3199 else 'red')


int_a = int(input())
str_s = input()
if int_a >= 3200:
	print(str_s)
else:
	print('red')


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


A = int(input())
B = input()
if A < 3200:
	print('red')
else:
	print(B)


x = int(input())
z = input()
if x < 3200:
	print('red')
else:
	print(z)


n1 = int(input())
s1 = input()
if n1 < 3200:
	s1 = 'red'
print(s1)


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


(a, s) = open(0).read().split()
print('red' if int(a) < 3200 else s)


B = int(input())
S = input()
if B >= 3200:
	print(S)
else:
	print('red')


a = int(input())
S = input()
if a >= 3200:
	print(S)
elif a < 3200:
	print('red')
else:
	print('Error')