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: Runtime Error

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

Submission status: Runtime Error

Solution code:
n = int(input())
a = []
a = list(map(int, input().strip().split()))


all_sum = 0

for i in range(n):
  all_sum += 1/a[i]

ans = 1 / all_sum

print(ans)

Submission status: Runtime Error

Solution code:
n = int(input())
a = []
a = list(map(int, input().strip().split()))

all_sum = 0

for i in range(n):
  all_sum += 1/a[i]

ans = 1 / all_sum

print(ans)

Submission status: Runtime Error

Solution code:
if a < 5000 && a >= 3200:
	print(s)
elif 2800 <= a && a < 3200:
	print('red')

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n = int(raw_input())
a = map(int, raw_input().split())
b = 0.0
print(a)
for i in range(n):
    b = b + 1/float(a[i])
print(1/b)

Submission status: Runtime Error

Solution code:
n = int(input())
num_list = map(int, input().split())
def ave(nums):
    rev_sum = 0
    for i in nums:
        rev_sum += 1/i
    ans = 1/rev_sum
    return ans

print(ave(num_list))

Submission status: Runtime Error

Solution code:
package main

import "fmt"

func main() {
    var a, b int
    fmt.Scan(&a, &b)
    if a*b%2 == 0 {
        fmt.Printf("Even\n")
    } else {
        fmt.Printf("Odd\n")
    }
}

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
n = int(input())
data = map(int, input().split())
up = 0
for i in range(n):
  up *= data[i]

down = 0
for j in range(n):
  down += up / data[j]

print(up / down)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

else:a < 3200
    print('red')

Submission status: Runtime Error

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


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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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


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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import sys

def solve(N: int, A: "List[int]"):
    result = 0.
    for i in range(N):
        result += 1./A[i]
    print(1./result)
    return


def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    N = int(next(tokens))  # type: int
    A = [ int(next(tokens)) for _ in range(N) ]  # type: "List[int]"
    solve(N, A)

if __name__ == '__main__':
    main()

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
  1 a = int(input())
  2 s = input()
  3
  4
  5 if a < 3200 :
  6     print('red')
  7 else:
  8     print(s)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
import sys
a = []
for l in sys.stdin:
    a.append(int(l))

if a[0] >= 3200:
    print(a[1])
else:
    print('red')

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import numpy as np

N = int(input())
A = np.array(list(map(int, input().split(' '))))

A_inv = 1 / A
print(1 / np.sum(A_inv))

Submission status: Runtime Error

Solution code:
if a < 3200:
	print(a)
else:
	print(s)

Submission status: Runtime Error

Solution code:
a = int(input())

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:

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

Submission status: Runtime Error

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


print(s) if a >=

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a = int(input())

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
if __name__ == '__main__':
	A,B,C = map(int, input().split())	
	if (A - B - C ) >= 0:
		print('0')
	else :
		print(C - (A-B))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

if a >= 3200:
	print(S)
else:
	print(red)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import sys

lines = sys.stdin.readline()
a = lines[0]
b = lines[1].strip()

if a >= 3200:
    b = 'red'

print(b)

Submission status: Runtime Error

Solution code:
import numpy as np

A,S= map(str,input().split())
A = int(A)

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

if a>=3200:
  print(s)
else:
  print('red')
#L=list(map(int,input().split()))
#a,b=map(int,input().split())
#A=[[0 for i in range()] for j in range()]
#l = [int(input()) for i in range(N)]

Submission status: Runtime Error

Solution code:
def getlist():
	return list(map(int, input().split()))

a = int(input())
x = input()

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
#!/usr/bin/env python
# coding: utf-8

# In[ ]:


A, B, C = map(int, input().split())


# In[ ]:


ans = int(C-(A-B))
if ans < 0:
    print(0)
else:
    print(ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
3200
pink

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n = int(input())

if n>= 3200:
  print(red)
else:
  print(input())

Submission status: Runtime Error

Solution code:
n=int(input())
p=input().rstrip()
if a<3200:
    print("red")
else:
    print(p)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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