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++14 (GCC 5.4.1) (judge verdict: Wrong Answer)

#include <iostream>
#include <sstream>
#include <vector>
#include <cmath>
#include <ctime>
#include <cassert>
#include <iomanip>
#include <cstdio>
#include <float.h>
#include <queue>
#include <set>
#include <map>
#include <fstream>
#include <cstdlib>
#include <string>
#include <cstring>
#include <algorithm>
#include <numeric>
#include <stack>
#include <functional>
       
using namespace std;
       
#define endl '\n'
#define MOD 1000000007
#define INF 1ll<<30
 
// #define MAX 100010
 
#define eps 1e-11
#define bit_max 1ll<<32
#define _USE_MATH_DEFINES
 
long long int fact[3000];
 
void pre()
{
    fact[0]=1;
    fact[1]=1;
    for(int i=2;i<2005;i++)
    {
        fact[i]= (fact[i-1]*i)%MOD;
    }
}
 
long long int poww(long long int a,long long int b)
{
    if(b==0)
        return 1;
    long long int x = poww(a,b/2)%MOD;
    if(b%2==0)
    {
        return (x*x)%MOD;
    }
    else
    {
        return (((x*x)%MOD)*a)%MOD;
    }
}

int countt[1000000];

int main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    cout.tie(NULL);

    long long int x;
    cin>>x;
    if(x<=6)
        cout<<0;
    else if(x==7)
        cout<<2;
    else if(x<=11)
        cout<<1;
    else
    {
        long long int ans = 0;
        if(((2*x)/11)%2==0)
            ans = ((x*2)/11) + ((2*x)%11!=0);
        cout<<ans;
    }
    cout<<endl;
    return 0;
}