AtCoder Beginner Contest 138
翻译中…
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.
翻译中…
样例
Input #1
3200
pink
Output #1
pink
$a = 3200$ is not less than $3200$, so we print $s =$ `pink`.
Input #2
3199
pink
Output #2
red
$a = 3199$ is less than $3200$, so we print `red`.
Input #3
4049
red
Output #3
red
$a = 4049$ is not less than $3200$, so we print $s =$ `red`.
题目信息
题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。