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 Rust (1.15.1) (judge verdict: Accepted)

use std::io;

fn read_line () -> u32{
    let mut buf = String::new();
    io::stdin().read_line(&mut buf);
    buf.trim().parse().unwrap()
}
enum Contest {
    ABC,
    ARC
}

// let's try something
impl ToString for Contest {
    fn to_string(&self) -> String {
        match *self {
            Contest::ABC => "ABC",
            Contest::ARC => "ARC"
        }.to_string()
    }
}

fn decide_contest(n:u32) -> Contest {
    if n < 1200 {
        Contest::ABC
    } else {
        Contest::ARC
    }
}

fn main (){
    let n = read_line();
    println!("{}", decide_contest(n).to_string());
}