Smeke has decided to participate in AtCoder Beginner Contest (ABC) if his current rating…
- User
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
ABCif Smeke will participate in ABC, and printARCotherwise.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.
Examples
Input
1000
Output
ABC
Input
2000
Output
ARC
Assistant
We need to write a solution: Given integer x, print "ABC" if x < 1200 else "ARC". That's it.
We'll generate final answer: include code in Python. The user wants solution? The instruction: "Smeke has decided... You are given Smeke's current rating, x. Print
ABCif Smeke will participate in ABC, and printARCotherwise." So it's a typical AtCoder problem (ABC 104 A?). Yes, it's ABC 104 A "Rating". The answer is simple.We just output appropriate string.
We'll write Python code that reads integer from input and prints "ABC" if x < 1200 else "ARC".
Make sure to handle input correctly.
We'll output final answer as code block with Python.
But the user message might be a request to solve problem. They expect solution. So we provide the code.
We'll respond with explanation and code.
Given that it's a simple problem, but we might include brief explanation.
So final answer:
x = int(input()) if x < 1200: print("ABC") else: print("ARC")That's it. ```python
x = int(input()) if x < 1200: print("ABC") else: print("ARC")
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.