Problem:
Score : 100 points

Problem Statement

Smeke has decided to participate in AtCoder Beginner Contest (ABC) if his current rating is less than 1200, and participate in AtCoder Regular Contest (ARC) otherwise.

You are given Smeke's current rating, x. Print ABC if Smeke will participate in ABC, and print ARC otherwise.

Constraints

1 ≦ x ≦ 3{,}000

x is an integer.

Input

The input is given from Standard Input in the following format:

x

Output

Print the answer.

Sample Input 1

1000

Sample Output 1

ABC

Smeke's current rating is less than 1200, thus the output should be ABC.

Sample Input 2

2000

Sample Output 2

ARC

Smeke's current rating is not less than 1200, thus the output should be ARC.

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

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _02_ABC081A
{
    class Program
    {
        static void Main(string[] args)
        {
            int a = 0;
            int z = 0;
            bool check = false;
            string str;

            string s = Console.ReadLine();
            //string[] str = Console.ReadLine().Split(' ');//2つ以上のスペース区切り入力の取得
            //int b = int.Parse(str[0]);  //数値で受け取りたい場合は変換する
            //int c = int.Parse(str[1]);

            for (int i = 0; i < s.Length; i++)
            {
                if (!check)
                {
                    if (s[i] == 'A')
                    {
                        a = i;
                        check = true;
                    }
                }
            }
            for (int i = 0; i < s.Length; i++)
            {
                if (s[i] == 'Z')
                {
                    z = i;
                }
            }

            //str = s.Substring(a, z - a + 1);

            //Console.WriteLine(str.Length);
            Console.WriteLine(z-a+1);
            Console.Read();


        }
    }
}