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.

Solution in C# (Mono 4.6.2.0) (judge verdict: Wrong Answer)

using System;
using System.Linq;
class Program {
    static void Main (string[] args) {
        // 整数の入力
        Console.Write ("入力");
        int N = int.Parse (Console.ReadLine ());
        string s = Console.ReadLine ();
        if (N >= 3200) {
            Console.Write (s);
        } else {
            Console.Write ("red");
        }
        // int[] numbers = new int[N];
        // for (int i = 0; i < N; i++) {
        //     numbers[i] = int.Parse (Console.ReadLine ());
        // }
        // int cnt = 1;
        // int tmp1 = numbers[0]; //見始め
        // int tmp = numbers[1];
        // for (int i = 1; i < N; i++) {
        //     if (numbers[i] < tmp) {
        //         cnt += 1;
        //         if (numbers[i] <= tmp1) {
        //             cnt += 1;
        //             tmp1 = numbers[i];
        //         }
        //         tmp = numbers[i];
        //     } else if (numbers[i] == tmp) {
        //         cnt += 1;
        //     } else {

        //     }
        // }
        // Console.WriteLine (cnt);
        // // int D = int.Parse (Console.ReadLine ());
        // string[] input = Console.ReadLine ().Split (' ');
        // int[] numbers = input
        //     .Select (int.Parse)
        //     .ToArray ();
        // int N = numbers[0];
        // int D = num[1];
        // int X = 2*D+1;
        // int cnt = 1;

        // while(true){
        //     if(cnt*X / N >= 1){
        //         break;
        //     }else{
        //         cnt += 1;
        //     }
        // }
        // スペース区切りの整数の入力
        // string[] input = Console.ReadLine ().Split (' ');

        // int[] numbers = input
        // .Select (int.Parse)
        // .ToArray ();
        // int count = 0;

        // while (true) {
        //     bool ck = cheCk (a, numbers);
        //     if (check) {
        //         numbers = Divide (a, numbers);
        //         count += 1;
        //     } else {
        //         break;
        //     }
        // }
        //出力
        // Console.WriteLine (cnt);
    }

    // public static bool Check (int a, int[] numbers) {
    //     bool check = true;
    //     for (int i = 0; i < a; i++) {
    //         if (numbers[i] % 2 != 0) {
    //             check = false;
    //         }
    //     }
    //     return check;
    // }

    // public static int[] Divide (int a, int[] num){ 
    //     for (int i = 0; i < a; i++) {
    //         numbers[i] /= 2;
    //     }
    //     return numbers;
    // }
}