Problem:


Score : 100 points

Problem Statement

AtCoder Inc. holds a contest every Saturday.

There are two types of contests called ABC and ARC, and just one of them is held at a time.

The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.

Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Constraints

S is ABC or ARC.

Input

Input is given from Standard Input in the following format:

S

Output

Print the string representing the type of the contest held this week.

Sample Input 1

ABC

Sample Output 1

ARC

They held an ABC last week, so they will hold an ARC this week.



Sample input:
ABC


Sample output:
ARC

Submission status: Accepted

Solution code:
# 166 A
S = input()
print('ABC') if S == 'ARC' else print('ARC')

Submission status: Accepted

Solution code:
if input() == 'ABC':
    print('ARC')
else:
    print('ABC')

Submission status: Accepted

Solution code:
S = input()

if S == "ABC":
    print("ARC")
else:
    print("ABC")

Submission status: Accepted

Solution code:
s=input()
if s=='ABC':
    print('ARC')
elif s=='ARC':
    print('ABC')

Submission status: Accepted

Solution code:
if input()=='ABC':
  print('ARC')
else:
  print('ABC')

Submission status: Accepted

Solution code:
s = input()
if(s =="ABC"):
  print("ARC")
else:
  print("ABC")

Submission status: Accepted

Solution code:
s = input()

if "B" in s:
    print("ARC")
else:
    print("ABC")

Submission status: Accepted

Solution code:
s = input()
if s == "ARC":
  print("ABC")
else:
  print("ARC")

Submission status: Accepted

Solution code:
if input() == 'ABC':
    print('ARC')
else:
    print('ABC')

Submission status: Accepted

Solution code:
S = input()
print( 'ARC' if S == 'ABC' else 'ABC')

Submission status: Accepted

Solution code:
S = input()
 
if S =="ABC":
  print ("ARC")
elif S =="ARC" :
  print ("ABC")

Submission status: Accepted

Solution code:
S = input()

if S[1] == 'B':
    print('ARC')
else:
    print('ABC')

Submission status: Accepted

Solution code:
i = input()
if(i=='ABC'):
    print('ARC')
else:
    print('ABC')

Submission status: Accepted

Solution code:
A=input()
if A=='ABC':
    print('ARC')
else:
    print('ABC')

Submission status: Accepted

Solution code:
print('A%sC'%'BR'[input()<'AR'])

Submission status: Accepted

Solution code:
print('A'+'BR'[input()<'AR']+'C')

Submission status: Accepted

Solution code:
s = input()
if s[1] == "B":
  print("ARC")
else:
  print("ABC")

Submission status: Accepted

Solution code:
S = input()

if S == 'ABC':
    print('ARC')
elif S == 'ARC':
    print('ABC')

Submission status: Accepted

Solution code:
s = input()
if s == "ARC":
    print("ABC")
else:
    print("ARC")

Submission status: Accepted

Solution code:

def main():
    s = input()
    if s == "ABC" :
        print("ARC")
    else:
        print("ABC")

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
n=str(input())
if n=="ABC":
    print("ARC")
else:
    print("ABC")

Submission status: Accepted

Solution code:
S = input()

if S == "ABC":
  print("ARC")
else:
  print("ABC")

Submission status: Accepted

Solution code:
a = input()
if a == "ABC":
    print("ARC")
else:
    print("ABC")

Submission status: Accepted

Solution code:
s = input()
if s == "ARC":
    print("ABC")
else:
    print("ARC")

Submission status: Accepted

Solution code:
S = input()
ans = 'ARC' if S == 'ABC' else 'ABC'
print(ans)

Submission status: Accepted

Solution code:
S = input()
if S == 'ABC':
    print('ARC')
else:
    print('ABC')

Submission status: Accepted

Solution code:
s = input()
if s=="ABC":
    print("ARC")
else:
    print("ABC")

Submission status: Accepted

Solution code:
S = input()
ans = {'ABC': 'ARC', 'ARC': 'ABC'}

print(ans[S])

Submission status: Accepted

Solution code:
a=input()
if(a=='ABC'):
    print('ARC')
else:
    print('ABC')

Submission status: Accepted

Solution code:

S = str(input())

if S == 'ABC':
    print('ARC')
else:
    print('ABC')

Submission status: Accepted

Solution code:
def main(S):
    if S == 'ABC':
        return 'ARC'
    else:
        return 'ABC'

if __name__ == '__main__':
    S = input()
    ans = main(S)
    print(ans)

Submission status: Accepted

Solution code:

s=list(input())
if s[1]=='B':
    print('ARC')
else:
    print('ABC')

Submission status: Accepted

Solution code:
s = input()

if s == "ARC":
    print("ABC")
else:
    print("ARC")

Submission status: Accepted

Solution code:
# A - A?C

S = input()

if S == 'ABC':
    print('ARC')
elif S == 'ARC':
    print('ABC')

Submission status: Accepted

Solution code:
S =input()
if S[1] =='B':
    print('ARC')
else:
    print('ABC')

Submission status: Accepted

Solution code:

S = input()

if S == "ABC" :
    print("ARC")
else :
    print("ABC")

Submission status: Accepted

Solution code:
print("ARC" if input() == "ABC" else "ABC")

Submission status: Accepted

Solution code:
#!/usr/bin/env python3

ABC = "ABC"
ARC = "ARC"


def solve(S: str):
    if S == ABC:
        return ARC
    else:
        return ABC


def main():
    S = input().strip()
    answer = solve(S)
    print(answer)


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
S = str(input())

if S == "ABC":
  print("ARC")
else:
  print("ABC")

Submission status: Accepted

Solution code:
S=input()

if S=='ABC':
  print('ARC')
if S=='ARC':
  print('ABC')

Submission status: Accepted

Solution code:
s = input()

if s == "ABC":
  print("ARC")
else:
  print("ABC")

Submission status: Accepted

Solution code:
print("ARC" if input() == "ABC" else "ABC")

Submission status: Accepted

Solution code:
s = input()
if s == 'ARC':
    print('ABC')
else:
    print('ARC')

Submission status: Accepted

Solution code:
def main():
    S = input()
    if S == "ABC":
        print("ARC")
    else:
        print("ABC")


main()

Submission status: Accepted

Solution code:
s = input()

if s == 'ABC' :
  print('ARC')
else :
  print('ABC')

Submission status: Accepted

Solution code:
S = input()
print("ABC" if S == "ARC" else "ARC")

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline

def main():
    s = str(input())
    if s == 'ABC\n':
        print('ARC')
    else:
        print('ABC')
main()

Submission status: Accepted

Solution code:
s = input()
ans = 'ABC' if s == 'ARC' else 'ARC'
print(ans)

Submission status: Accepted

Solution code:
S=input()
if S=="ABC":
    print("ARC")
else:
    print("ABC")

Submission status: Accepted

Solution code:
s = input()

if s == 'ABC':
  print('ARC')
else:
  print('ABC')

Submission status: Accepted

Solution code:
text = input()
if text == "ABC":
  print("ARC")
else:
  print("ABC")

Submission status: Accepted

Solution code:
S = input()

if S == "ARC":
    print("ABC")
else:
    print("ARC")

Submission status: Accepted

Solution code:
s = str(input())
if s == 'ABC':
    print('ARC')
else:
    print('ABC')

Submission status: Accepted

Solution code:
S = input()
if S == 'ABC': print('ARC')
elif S == 'ARC': print('ABC')

Submission status: Accepted

Solution code:
contest_S = input()

if contest_S == 'ABC':
    print('ARC')
else:
    print('ABC')

Submission status: Accepted

Solution code:
s = input()

if s=="ABC":
    print("ARC")
else:
    print("ABC")

Submission status: Accepted

Solution code:
def resolve():
    print("ARC" if "ABC" == input() else "ABC")

if '__main__' == __name__:
    resolve()

Submission status: Accepted

Solution code:
S = input()
 
if S == 'ABC':
    print("ARC")
 
elif S == 'ARC':
    print("ABC")

Submission status: Accepted

Solution code:
S = input()

if S == 'ABC':
    print("ARC")

elif S == 'ARC':
    print("ABC")

Submission status: Accepted

Solution code:
# 入力
S = input()

# 処理&出力
if S == 'ABC':
    print('ARC')
elif S == 'ARC':
    print('ABC')
else:
    print('IDK')

Submission status: Accepted

Solution code:
S=input()
if S=='ABC':
    print('ARC')
elif S=='ARC':
    print('ABC')

Submission status: Accepted

Solution code:
S = str.upper(input())

if S == "ARC":
    print("ABC")
elif S == "ABC":
    print("ARC")

Submission status: Accepted

Solution code:
S = str(input())

if S == 'ABC':
    print('ARC')

if S == 'ARC':
    print('ABC')

Submission status: Accepted

Solution code:
S = input()
if S == "ABC":
    print("ARC")
if S == "ARC":
    print("ABC")

Submission status: Accepted

Solution code:
# 開催されるコンテストを表す文字列

S = input()

if S == "ABC":
    print("ARC")
else:
    print("ABC")

Submission status: Accepted

Solution code:
# A, A?C
# AtCoder 社は、毎週土曜日にコンテストを開催しています。
# コンテストには ABC と ARC の2つの種類があり、毎週どちらか一方が開催されます。
# ABC が開催された次の週には ARC が開催され、ARC が行われた次の週には ABC が開催されます。
# 先週開催されたコンテストを表す文字列Sが与えられるので、今週開催されるコンテストを表す文字列を出力してください。

# Sは'またはABC''ARC'

S = input()

# 今週開催されるコンテストを表す文字列を出力せよ。

if S == 'ABC':
    print('ARC')
else:
    print('ABC')

Submission status: Accepted

Solution code:
S = input()
if S == "ABC":
    print("ARC")
else:
    print("ABC")

Submission status: Accepted

Solution code:
x = input()

if x == "ABC":
	print("ARC")
else:
	print("ABC")

Submission status: Accepted

Solution code:
A=['ABC','ARC']
S=input()
if S==A[0]:
  print(A[1])
else:
  print(A[0])

Submission status: Accepted

Solution code:
S = input()
if S == "ABC":
    print("ARC")
elif S == "ARC":
    print("ABC")

Submission status: Accepted

Solution code:
S = input()

if S == "ABC":
    print("ARC")
else:
    print("ABC")

Submission status: Accepted

Solution code:
S = input()

if S == "ABC":
    print("ARC")
elif S == "ARC":
    print("ABC")

Submission status: Accepted

Solution code:
S = input()

if S == ("ABC"):
    output = ("ARC")
elif S == ("ARC"):
    output = ("ABC")

print(output)

Submission status: Accepted

Solution code:
S = str(input())
W = ['B', 'R']

if S == 'ABC':
    p = 1
else:
    p = 0

print('A'+W[p]+'C')

Submission status: Accepted

Solution code:
# 166A
# SがABCの時、今週開催予定はARCと出力される

# 標準入力
S = input()

# ABCが入力されたときARCを出力する
if S == 'ABC':
    print('ARC')

# ARCが入力されたとき（ABC以外のとき）ABCと表示される

else:
    print('ABC')

Submission status: Accepted

Solution code:
S = input()

if S == 'ABC':
    print('ARC')

elif S == 'ARC':
    print('ABC')
else:
    print('Mistake...')

Submission status: Accepted

Solution code:
S =input()

if S == "ABC":
    print("ARC")
elif S == "ARC":
    print("ABC")

Submission status: Accepted

Solution code:

s = input()
if s =="ABC":
    print("ARC")
else:
    print("ABC")

Submission status: Accepted

Solution code:
S = input('')

if S == 'ABC':
    print('ARC')
else:
    print('ABC')

Submission status: Accepted

Solution code:
# AtCoder 社は、毎週土曜日にコンテストを開催しています。
# コンテストには ABC と ARC の 2つの種類があり、
# 毎週どちらか一方が開催されます。
# ABC が開催された次の週には ARC が開催され、
# ARC が行われた次の週には ABC が開催されます。
# 先週開催されたコンテストを表す文字列 S が与えられるので、
# 今週開催されるコンテストを表す文字列を出力してください。

# 制約
# Sは'ABC' または'ARC'

# 標準入力から文字列 S を取得する
s = input()

# S をたよりに、今週開催されるコンテストを出力する
next_contest = "ret"
if s == "ABC":
    next_contest = "ARC"
elif s == "ARC":
    next_contest = "ABC"

print(next_contest)

Submission status: Accepted

Solution code:
S = input()

if S == 'ABC':
    print('ARC')

elif S == 'ARC':
    print('ABC')

Submission status: Accepted

Solution code:
S=input()
if S=="ABC":
  print("ARC")
else:
  print("ABC")

Submission status: Accepted

Solution code:
#A
S=input()
if S == 'ABC':
    print('ARC')
elif S =='ARC':
    print('ABC')

Submission status: Accepted

Solution code:
S=input()

if S=="ABC":
  print("ARC")
else:
  print("ABC")

Submission status: Accepted

Solution code:
S = str(input())

if S == "ABC":
    print("ARC")
elif S == "ARC":
    print("ABC")

Submission status: Accepted

Solution code:
if input() == 'ABC':
  print('ARC')
else:
  print('ABC')

Submission status: Accepted

Solution code:
S = input()
if S=='ABC':
 print('ARC')
elif S == 'ARC':
 print('ABC')

Submission status: Accepted

Solution code:
name = input()

if name == 'ABC':
    print('ARC')
else:
    print('ABC')

Submission status: Accepted

Solution code:
S = input()

if S == "ABC":
    print("ARC")
if S == "ARC":
    print("ABC")

Submission status: Accepted

Solution code:
# A - A?C

# 'ABC'には'ARC'を、'ARC'には'ABC'を返す


S = str(input())

if S == 'ABC':
    print('ARC')

elif S == 'ARC':
    print('ABC')

Submission status: Accepted

Solution code:
s = input()

if s == 'ABC':
    print('ARC')
else:
    print('ABC')

Submission status: Accepted

Solution code:
def main():
    S = input()

    if S == "ABC":
        ans = "ARC"
    else:
        ans = "ABC"

    print(ans)


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
S=str(input())

if S=='ABC':
  print('ARC')
else:
  print('ABC')

Submission status: Accepted

Solution code:
# A - A?C
# https://atcoder.jp/contests/abc166/tasks/abc166_a

S = input()

result = 'ABC'

if S == result:
    result = 'ARC'

print(result)

Submission status: Accepted

Solution code:
s=input()
if s=="ABC":
  print("ARC")
else:
  print("ABC")

Submission status: Accepted

Solution code:
#166
S = input()

if S == "ABC":
    print('ARC')

elif S == "ARC":
    print('ABC')

Submission status: Accepted

Solution code:
S = input()

if S == 'ABC':
    answer = 'ARC'
elif S == 'ARC':
    answer = 'ABC'
else:
    answer = '入力間違い【ABC】【ARC】を入力'

print(answer)

Submission status: Accepted

Solution code:
S=input()
if S=='ABC':
    print('ARC')
elif S=='ARC':
    print('ABC')

Submission status: Accepted

Solution code:
s = input()

if s == 'ABC':
    print('ARC')
elif s == 'ARC':
    print('ABC')

Submission status: Accepted

Solution code:
S = input ()
if S[1] == 'B':
  print ('ARC')
else:
  print ('ABC')

Submission status: Accepted

Solution code:
#166A

#1.入力をちゃんと受け取ること
contest=input()

#2.結果を出力する
if contest =='ABC' :
    print('ARC')
elif contest =='ARC':
    print('ABC')

Submission status: Accepted

Solution code:
#166A

#1.入力をちゃんと受け取ること
contest=input()

#3.結果を出力する
if contest =='ABC' :
    print('ARC')
elif contest =='ARC':
    print('ABC')

Submission status: Accepted

Solution code:
S = input()
if S == 'ABC':
 print("ARC")
elif S =='ARC':
    print("ABC")

Submission status: Accepted

Solution code:
contest = input()

if contest == 'ABC':
    print('ARC')
else:
    print('ABC')

Submission status: Accepted

Solution code:
S=input()
if S=="ABC":
  print("ARC")
else:
  print("ABC")

Submission status: Accepted

Solution code:
i = input()
if i[1] == "R":
    print("ABC")
else: print("ARC")

Submission status: Accepted

Solution code:
x=str(input())
if x[1]=="B":
  print("ARC")
else:
  print("ABC")

Submission status: Accepted

Solution code:
contest= input()

if contest == 'ABC':
    print('ARC')
elif contest =='ARC':
    print('ABC')

Submission status: Accepted

Solution code:
S=input()
if S=='ABC':
    print('ARC')
else:
    print('ABC')

Submission status: Accepted

Solution code:
S = input()
O = 'ABC' if S == 'ARC' else 'ARC'
print(O)

Submission status: Accepted

Solution code:
S = input()

if S == "ABC":
    print("ARC")

else:
    print("ABC")

Submission status: Accepted

Solution code:

#イコールは＝＝とすることVBA特別する

s = input()

if s == "ABC":
    print("ARC")
else:
    print("ABC")

Submission status: Accepted

Solution code:
a=input()

if a=='ABC':
    print('ARC')

elif a=='ARC':
    print('ABC')

Submission status: Accepted

Solution code:
S=input()
if S=='ABC':
  print('ARC')
else:
  print('ABC')

Submission status: Accepted

Solution code:


s=input()

if s=='ABC':
    print('ARC')

if s=='ARC':
    print('ABC')

Submission status: Accepted

Solution code:
S=input()
print("ABC" if S=="ARC" else "ARC")

Submission status: Accepted

Solution code:
S = input()

if S == "ABC":
  print("ARC")
elif S == "ARC":
  print("ABC")

Submission status: Accepted

Solution code:
S = input()

if(S=="ABC"):
  print("ARC")
else:
  print("ABC")

Submission status: Accepted

Solution code:
S = input()

if S == 'ARC':
    print('ABC')
elif S == 'ABC':
    print('ARC')

Submission status: Accepted

Solution code:
if input() == 'ABC':
    print('ARC')
else:
    print('ABC')

Submission status: Accepted

Solution code:
S = input()

if S == 'ABC':
    print('ARC')

elif S == 'ARC':
    print('ABC')

Submission status: Accepted

Solution code:
S = input()

if S == 'ABC':
    print("ARC")

elif S == 'ARC':
    print("ABC")

Submission status: Accepted

Solution code:
str = input()
if str=="ABC":
  print("ARC")
else:
  print("ABC")

Submission status: Accepted

Solution code:
S=input()
if S==('ABC'):
    print('ARC')
else:
    print('ABC')

Submission status: Accepted

Solution code:
#   AtCoder abc166 a

#   入力
s = input()

#   判定
if s == "ABC":
    print("ARC")
else:
    print("ABC")

Submission status: Accepted

Solution code:
# ABC が開催された次の週には ARC が開催され、ARC が行われた次の週には ABC が開催
# 先週開催されたコンテストを表す文字列Sが与えられる
# 制約: S は ABC または ARC
# S = 'ABC'

S = input()

if S == 'ABC':
    print('ARC')
else:
    print('ABC')

Submission status: Accepted

Solution code:
S = input()
if S[1] == "R":
  print("ABC")
else:
  print("ARC")

Submission status: Accepted

Solution code:
S=input()

if S == 'ABC':
    print('ARC')
else:
    print('ABC')

Submission status: Accepted

Solution code:
S = input()

if S == ('ABC'):
    print('ARC')
elif S == ('ARC'):
    print('ABC')
else:
    print('入力に誤りがあります。ABCまたはARCを入力してください。')

Submission status: Accepted

Solution code:
# 166A
S  = input()
#print (S)

if S == 'ABC':
    answer='ARC'
elif S == 'ARC':
    answer=('ABC')

print(answer)

Submission status: Accepted

Solution code:
S = input()
List = {'ABC':'ARC', 'ARC':'ABC'}
print(List[S])

Submission status: Accepted

Solution code:
if input() == "ABC":
  print("ARC")
else:
  print("ABC")

Submission status: Accepted

Solution code:
print({'ABC':'ARC', 'ARC':'ABC'}[input()])

Submission status: Accepted

Solution code:
# 166A
# 問題文
# AtCoder 社は、毎週土曜日にコンテストを開催しています。
# コンテストには ABC と ARC の
# 2つの種類があり、毎週どちらか一方が開催されます。
# ABC が開催された次の週には ARC が開催され、ARC が行われた次の週には ABC が開催されます。
# 先週開催されたコンテストを表す文字列 Sが与えられるので、
# 今週開催されるコンテストを表す文字列を出力してください。
#
# 制約: Sは ABC または ARC
# 入力: 入力は以下の形式で標準入力から与えられる。
#  S
# 出力: 今週開催されるコンテストを表す文字列を出力せよ。

# ABC or ARC
S = input()

if S == 'ABC':
    answer = 'ARC'
elif S == 'ARC':
    answer = 'ABC'

print(answer)

Submission status: Accepted

Solution code:
print(("ARC","ABC")[str(input())=="ARC"])

Submission status: Accepted

Solution code:
s = input()
print('ABC' if s == 'ARC' else 'ARC')

Submission status: Accepted

Solution code:
S = input()
print_list = ['ABC', 'ARC']
value = 1-(print_list.index(S))
print(print_list[value])

Submission status: Accepted

Solution code:
S = input()
print_list = ['ABC', 'ARC']
value = print_list.index(S)
if value == 0:
    print(print_list[1])
else:
    print(print_list[0])

Submission status: Accepted

Solution code:
# コンテスト名の要求
S = input()

# 入力されたコンテストではないものを出力
if S == "ABC":
    print("ARC")
elif S == "ARC":
    print("ABC")
else:
    print("入力内容が正しくありません。")

Submission status: Accepted

Solution code:
S = input()

if S == 'ABC' :
    answer = 'ARC'
elif S == 'ARC' :
    answer = 'ABC'

print(answer)

Submission status: Accepted

Solution code:
S = input()

if S == 'ABC':
    print('ARC')
elif S == 'ARC':
    print('ABC')
else:
    print('入力が間違っています')

Submission status: Accepted

Solution code:
# 入力
s = str(input())

# 処理
if s == "ABC":
    answer = "ARC"
elif s == "ARC":
    answer = "ABC"

print(answer)

Submission status: Accepted

Solution code:
s = input()

if s == "ARC":
  print("ABC")
else:
  print("ARC")

Submission status: Accepted

Solution code:
S = input()

if S == 'ABC':
    print('ARC')

elif S == 'ARC':
    print('ABC')

Submission status: Accepted

Solution code:
# 166a

S = input() #　先週のコンテストSを入力

if S == 'ABC':
    print('ARC')
elif S == 'ARC':
    print('ABC')
else:
    print('入力が間違っています')

Submission status: Accepted

Solution code:
S = input()

if S == 'ABC':
    print('ARC')
elif S == 'ARC':
    print('ABC')
else:
    print('ABC または　ARC を入力してください')

Submission status: Accepted

Solution code:
S=input()
if(S=='ABC'):
    print('ARC')
else:
    print('ABC')

Submission status: Accepted

Solution code:
# 文字列sを入力する
s=input()

# sが'ABC'なら、'ARC'を出力し、そうでないなら'ABC'を出力する
if s==('ABC'):
    print('ARC')
else:
    print('ABC')

Submission status: Accepted

Solution code:
s=input()

if (s=='ABC'):
    print('ARC')
else:
    print('ABC')

Submission status: Accepted

Solution code:
#!/usr/bin/env python3

import sys

input = iter(sys.stdin.read().splitlines()).__next__

sys.setrecursionlimit(10000)

S = input()
print('ARC' if S == 'ABC' else 'ABC')

Submission status: Accepted

Solution code:
S = input()

if S == "ABC":
	print("ARC")
else:
	print("ABC")

Submission status: Accepted

Solution code:
import math
import numpy as np
import sys
import os
from operator import mul

sys.setrecursionlimit(10**7)

def _S(): return sys.stdin.readline().rstrip()
def I(): return int(_S())
def LS(): return list(_S().split())
def LI(): return list(map(int,LS()))

if os.getenv("LOCAL"):
    inputFile = basename_without_ext = os.path.splitext(os.path.basename(__file__))[0]+'.txt'
    sys.stdin = open(inputFile, "r")
INF = float("inf")
IINF = 10 ** 18
MOD = 10 ** 9 + 7
# MOD = 998244353    

S=_S()

if S == 'ARC':
    print('ABC')
else:
    print('ARC')

Submission status: Accepted

Solution code:
n = ["ABC", "ARC", "ABC"]
a = input()
print(n[n.index(a) + 1])

Submission status: Accepted

Solution code:
import sys
import numpy as np
from math import ceil as C, floor as F, sqrt
from collections import defaultdict as D, Counter as CNT
from functools import reduce as R
 
ALP = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
alp = 'abcdefghijklmnopqrstuvwxyz'
def _X(): return sys.stdin.readline().rstrip().split(' ')
def _S(ss): return tuple(ss) if len(ss) > 1 else ss[0]
def S(): return _S(_X())
def Ss(): return list(S())
def _I(ss): return tuple([int(s) for s in ss]) if isinstance(ss, tuple) else int(ss)
def I(): return _I(S())
def _Is(ss): return list(ss) if isinstance(ss, tuple) else [ss]
def Is(): return _Is(I())

n = S()
print('ABC' if n == 'ARC' else 'ARC')

Submission status: Accepted

Solution code:
S=input()
S == "ABC" or "ARC"
if S == "ABC":
    print("ARC")
else:
    print("ABC")

Submission status: Accepted

Solution code:
# 入力
S = input('')

# SがABCならARC、それ以外ならABCを出力する(制約によりABC以外のパターンはARCしかない)
if S == str('ABC'):
    print('ARC')
else:
    print('ABC')

Submission status: Accepted

Solution code:
a = input()
if a == 'ABC':
  print('ARC')
else:
  print('ABC')

Submission status: Accepted

Solution code:
S=input()
if S==('ABC'):
  print('ARC')
else:
  print('ABC')

Submission status: Accepted

Solution code:
a = input()
if a == "ABC":
    print("ARC")
else:
    print("ABC")

Submission status: Accepted

Solution code:
s=input()
if s[1]=='B':
    print('ARC')
else:
    print('ABC')

Submission status: Accepted

Solution code:
s = input()
if (s == "ABC"):
  print("ARC")
else:
  print("ABC")

Submission status: Accepted

Solution code:
S = input()
if S == 'ABC':
    print('ARC')
if S == 'ARC':
    print('ABC')

Submission status: Accepted

Solution code:
s = input()
if s == 'ABC':
  ans = 'ARC'
else:
  ans = 'ABC'
  
print(ans)

Submission status: Accepted

Solution code:
S = input()
if S == 'ABC':
    print("ARC")
elif S == 'ARC':
    print("ABC")

Submission status: Accepted

Solution code:
#前回のコンテスト名を入力
last_contest = input()
#ABCだったらARC、そうでなかったらABC
if last_contest == "ABC":
    print("ARC")
else:
    print("ABC")

Submission status: Accepted

Solution code:
contest = "ABC""ARC"

S = input()
if S == "ABC":
    print("ARC")
else:
    print("ABC")

# contestで種類を定義づけ

Submission status: Accepted

Solution code:
tempStr = input()

print("ARC" if tempStr == "ABC" else "ABC")

Submission status: Accepted

Solution code:
S=input()
if S =='ABC':
    print('ARC')
elif S =='ARC':
    print('ABC')

Submission status: Accepted

Solution code:
s=input()

print("ARC" if s=="ABC" else "ABC")

Submission status: Accepted

Solution code:
S=input()

if S=="ABC":
    print("ARC")
elif S=="ARC":
    print("ABC")

Submission status: Accepted

Solution code:
# A - A?C
# ABC ARC の二つのコンテストが開催される
# ABC → ARC → ABC → ARC → ... と 毎週開催される

# 文字列 S の入力
S = input()
# print(S)

if S == 'ABC':
    # print('ARC')
    answer = 'ARC'
elif S == 'ARC':
    # print('ABC')
    answer = 'ABC'

# 結果の出力
print(answer)

Submission status: Accepted

Solution code:
# A - A?C
# ABC ARC の二つのコンテストが開催される
# ABC → ARC → ABC → ARC → ... と 毎週開催される

# 文字列 S の入力
S = input()
# print(S)

if S == 'ABC':
    print('ARC')
elif S == 'ARC':
    print('ABC')

Submission status: Accepted

Solution code:
S = input()

if S == 'ABC':
    print('ARC')

else:
    print('ABC')

Submission status: Accepted

Solution code:
s = input()
if s[1] == 'R':
  print('ABC')
else:
  print('ARC')

Submission status: Accepted

Solution code:
s = str(input())

if s == "ABC":
  print("ARC")
else:
  print("ABC")

Submission status: Accepted

Solution code:
#166A

S = input()
# print(S)

if S == 'ABC':
    print('ARC')
else:
    print('ABC')

Submission status: Accepted

Solution code:
input_line = input()
if input_line == "ABC":
  print("ARC")
else:
  print("ABC")

Submission status: Accepted

Solution code:
last_week_contest = input()

if last_week_contest == 'ABC':
    this_week_contest = 'ARC'
    print(this_week_contest)

elif last_week_contest == 'ARC':
    this_week_contest = 'ABC'
    print(this_week_contest)

Submission status: Accepted

Solution code:
S = input()

if S == 'ARC':
    print('ABC')
else:
    print('ARC')

Submission status: Accepted

Solution code:
S=input()

if S =="ABC":
    print('ARC')

elif S=="ARC":
    print('ABC')

Submission status: Accepted

Solution code:
S = input()
if S == 'ABC' :
    print('ARC')
else :
    print('ABC')

Submission status: Accepted

Solution code:
place = input('')

if place == 'ABC':
    print('ARC')
else:
    print('ABC')

Submission status: Accepted

Solution code:
s=input()
if (s=="ABC"):print("ARC")
else:print("ABC")

Submission status: Accepted

Solution code:
print('ARC' if input()=='ABC' else 'ABC')

Submission status: Accepted

Solution code:
s = input()
print("ABC" if s[1]=="R" else "ARC")

Submission status: Accepted

Solution code:
x = input()
if x == "ABC":
    print("ARC")
else:
    print("ABC")

Submission status: Accepted

Solution code:
s=input()
if(s=='ABC'):
    print('ARC')
else:
    print('ABC')

Submission status: Accepted

Solution code:
s = input()

if s == 'ABC':
  print('ARC')
elif s == 'ARC':
  print('ABC')

Submission status: Accepted

Solution code:
s=input()
if s=="ABC":
    s="ARC"
else:
    s="ABC"
print(s)

Submission status: Accepted

Solution code:
contest = input()

if contest == "ABC":
    print("ARC")
else:
    print("ABC")

Submission status: Accepted

Solution code:
s = input()
if s == 'ABC':
    print("ARC")
else:
    print("ABC")

Submission status: Accepted

Solution code:
# A?C

S = input()

if S == 'ABC':
    print('ARC')
else:
    print('ABC')

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline
ins = lambda: input().rstrip()
ini = lambda: int(input().rstrip())
inm = lambda: map(int, input().split())
inl = lambda: list(map(int, input().split()))

s = ins()
print("ABC" if s == "ARC" else "ARC")

Submission status: Accepted

Solution code:
s=input()
if s=='ABC':
    print('ARC')
else:
    print('ABC')

Submission status: Accepted

Solution code:
S = input()
print("ARC" if S == 'ABC' else "ABC")

Submission status: Accepted

Solution code:
def Qa():
    s = input()
    if s == 'ABC':
        ans = 'ARC'
    else:
        ans = 'ABC'
    print(ans)


if __name__ == '__main__':
    Qa()

Submission status: Accepted

Solution code:
s = input()
if s == 'ARC':
  print('ABC')
else:
  print('ARC')

Submission status: Accepted

Solution code:
print("ABC") if input()[1] == "R" else print("ARC")

Submission status: Accepted

Solution code:
a=input()
if a==('ABC'):
  print('ARC')
else:
  print('ABC')

Submission status: Accepted

Solution code:
print("ABC" if input()[1]=="R" else "ARC")

Submission status: Accepted

Solution code:
def solve():
    S = input()
    if S == "ABC":
        print("ARC")
    else:
        print("ABC")

if __name__ == "__main__":
    solve()

Submission status: Accepted

Solution code:
def main():
    S = input()
    if S == 'ARC':
        print('ABC')
    else:
        print('ARC')


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
S=input()
if S == 'ABC':
  print('ARC')
else:
  print('ABC')

Submission status: Accepted

Solution code:
S = input()
T = 'R' if S[1] == 'B' else 'B'
print(S[0]+T+S[2])

Submission status: Accepted

Solution code:
S = input()
if S == "ABC":
  print("ARC")
if S == "ARC":
  print("ABC")

Submission status: Accepted

Solution code:
S=input()
print("ARC" if S=="ABC" else "ABC")

Submission status: Accepted

Solution code:

def main():
    s = input()
    if s == 'ABC':
        print('ARC')
    else:
        print('ABC')


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
S=input()
if S=="ABC":
	print("ARC")
else:
	print("ABC")

Submission status: Accepted

Solution code:
contest = input()
if contest == "ABC":
  print("ARC")
else:
  print("ABC")

Submission status: Accepted

Solution code:
s=input()
print("ARC" if s=="ABC" else "ABC")

Submission status: Accepted

Solution code:
s = input()

if s == "ABC":
    print("ARC")
else:
    print("ABC")

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
s = input()
if s=='ARC':
  print('ABC')
else:
  print('ARC')

Submission status: Accepted

Solution code:
a = input()
if a == "ABC":
	print("ARC")
else:
	print("ABC")

Submission status: Accepted

Solution code:
ini = lambda : int(input())
inm = lambda : map(int,input().split())
inl = lambda : list(map(int,input().split()))
gcd = lambda x,y : gcd(y,x%y) if x%y else y
def factorization(n):
    arr = []
    temp = n
    for i in range(2, int(-(-n**0.5//1))+1):
        if temp%i==0:
            cnt=0
            while temp%i==0:
                cnt+=1
                temp //= i
            arr.append([i, cnt])
    if temp!=1:
        arr.append([temp, 1])
    if arr==[]:
        arr.append([n, 1])
    return arr
def make_divisors(n):
    divisors = []
    for i in range(1, int(n**0.5)+1):
        if n % i == 0:
            divisors.append(i)
            if i != n // i:
                divisors.append(n//i)
    divisors.sort()
    return divisors

s = input()
if s[1] == 'R':
    print('ABC')
else:
    print('ARC')

Submission status: Accepted

Solution code:
def main():
    s = input()
    if s[1] == "B":
        print("ARC")
    else:
        print("ABC")
main()

Submission status: Accepted

Solution code:
d = ["ABC", "ARC"]
s = input()
print(d[1 - d.index(s)])

Submission status: Accepted

Solution code:
s = input()
print('ARC') if s == 'ABC' else print('ABC')

Submission status: Accepted

Solution code:
S = input()
print('ABC' if S == 'ARC' else 'ARC')

Submission status: Accepted

Solution code:
print(f"A{['B', 'R'][input() == 'ABC']}C")

Submission status: Accepted

Solution code:
S=input()
if S == 'ABC':
    print('ARC')
else:
    print('ABC')

Submission status: Accepted

Solution code:
# A?C
S = input()
print(['ABC', 'ARC'][S == 'ABC'])

Submission status: Accepted

Solution code:
S = input()
if S == 'ABC':
	print('ARC')
else:print('ABC')

Submission status: Accepted

Solution code:
def resolve():
    S = input()

    if S[1] == "B":
        print("ARC")
    else:
        print("ABC")

if __name__ == "__main__":
    resolve()

Submission status: Accepted

Solution code:
S = input()

if S == "ABC":
  print("ARC")
else:
  print("ABC")

Submission status: Accepted

Solution code:
S=input()

print('ARC' if S=='ABC' else 'ABC')

Submission status: Accepted

Solution code:
S = str(input())

if S == 'ABC':
    print('ARC')
else:
    print('ABC')