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:

from sys import stdin
import sys
sys.setrecursionlimit(10**8)

def nextLine(): return next(stdin).rstrip()
def nextStrList(): return nextLine().split()
def nextIntList(): return [int(_) for _ in nextStrList()]


def main():
	s=nextLine()
	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:
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=str(input())
if x=='ABC':
	print ('ARC')
if x=='ARC':
	print ('ABC')

Submission status: Accepted

Solution code:
A=[]
A=str(input(""))


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

Submission status: Accepted

Solution code:
import sys, math
import bisect, heapq
import collections

sys.setrecursionlimit(10 ** 6)

input = sys.stdin.readline

gets = lambda: input().rstrip()
getn = lambda: int(input())
getmul = lambda: (int(i) for i in input().split())
getlist = lambda: [int(i) for i in input().split()]

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

print("ARC" if S.__eq__("ABC") else "ABC")

Submission status: Accepted

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


##########
if __name__ == "__main__":
    a()

Submission status: Accepted

Solution code:
def main():
    from builtins import int, map, list, print
    import sys
    sys.setrecursionlimit(10 ** 6)
    S = input()
    print(['ABC', 'ARC'][S == 'ABC'])


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

S=input()

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

print(ans)

Submission status: Accepted

Solution code:
def main():
  #n = int(input())
  s = input()
  #s = input().split()
  #a,b = list(map(int,input().split()))
  #a = [input() for i in range(n)]
  #a = [int(input()) for i in range(n)]
  #a = [input().split() for i in range(n)]
  #a = [list(map(int,input().split())) for i in range(n)]
  ans = 0
  count = 0
  lis = []
  
  if s == "ABC":
    print("ARC")
  else:
    print("ABC")

if __name__ == '__main__':
  main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import stdin, stdout  
  
def main(): 
	s = stdin.readline().rstrip()
	if s == 'ABC':
		stdout.write('ARC\n')
	else:
		stdout.write('ABC\n')

if __name__ == "__main__": 
	main()

Submission status: Accepted

Solution code:
S=input()
h=["ABC","ARC"]
if S==h[0]:
    print("ARC")
else:
    print("ABC")

Submission status: Accepted

Solution code:
s  = input()

ans = ["ABC", "ARC"]

ans.remove(s)

print(ans[0])

Submission status: Accepted

Solution code:
S = str(input())

#print(S)

ss = "ABC"
if S[1] == "B":
    ss = "ARC"

print(ss)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = str(input())

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
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()
if(S == 'ABC'):
   print('ARC')
else:
   print('ABC')

Submission status: Accepted

Solution code:
s = input()		# 文字列の入力  abcdefg...

ans="ABC"

if s=="ABC": ans="ARC"

print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
dict = {1:"ABC", 2:"ARC"}
S = str(input())
ans = 0

if("ABC" == S):
    print(dict[2])
else:
    print(dict[1])

Submission status: Accepted

Solution code:
import sys
n = sys.stdin.readline().strip()
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:
S=input()
if S=='ABC':
    print('ARC')
    exit()
print('ABC')

Submission status: Accepted

Solution code:
print("A"+("B"if input()=="ARC" else "R")+"C")

Submission status: Accepted

Solution code:
a = input()

if a == 'ABC':
  print('ARC')
elif a == 'ARC':
  print('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=='ARC':
    a = 'ABC'
elif S== 'ABC':
    a = 'ARC'
print(a)

Submission status: Accepted

Solution code:
str = input()

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

Submission status: Accepted

Solution code:
import numpy as np

s = input()
#print( s, w )

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:
str = input()

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

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

Solution code:
import sys
from math import sqrt
from collections import Counter, defaultdict, deque

input = sys.stdin.readline
sys.setrecursionlimit(10 ** 6)


def I():
    return int(input())


def MI():
    return map(int, input().split())


def LI():
    return list(MI())


def LIN(n: int):
    return [I() for _ in range(n)]


inf = float("inf")
mod = 10 ** 9 + 7


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


if __name__ == "__main__":
    main()

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":
  ans="ARC"
else:
  ans="ABC"
print(ans)

Submission status: Accepted

Solution code:
import sys

sys.setrecursionlimit(10**7)
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
ns = lambda: readline().rstrip()
ni = lambda: int(readline().rstrip())
nm = lambda: map(int, readline().split())
nl = lambda: list(map(int, readline().split()))
printn = lambda x: print('\n'.join(x))

s = input()
for x in ['ABC', 'ARC']:
    if s != x:
        print(x)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

main()

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:

class abc_166:
    
    def __init__(self):
        pass
    
    def A(self):
        S=input()
        ans= "ARC" if S=="ABC" else "ABC"
        print(ans)
    
    def B(self):
        pass
            
    def C(self):
        pass
    
    def D(self):
        pass
    
    def E(self):
        pass
    
    def F(self):
        pass
    
    
if __name__=='__main__':
    obj=abc_166()
    obj.A()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# coding: utf-8

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

if __name__ == "__main__":
    main()

Submission status: Accepted

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

s = input()

if s == 'ABC':
    print("ARC")
elif s == 'ARC':
    print("ABC")
else:
    print("not expection word input")

Submission status: Accepted

Solution code:
x = 'ABC'
y = 'ARC'

contest = input()

if contest == "ABC":
  print(y)
elif contest == 'ARC':
  print(x)

Submission status: Accepted

Solution code:
# coding: utf-8
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:

x=input()
if x == 'ABC':
    print('ARC')
else:
    print('ABC')

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

a = input()

if a == '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")
else:
    print("ABC")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
str = input()

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

Submission status: Accepted

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

solve()

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')
else:
    print('ARC')

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":
    X = "ARC"
elif S == "ARC":
    X = "ABC"

print(X)

Submission status: Accepted

Solution code:
#!python3

iim = lambda: map(int, input().rstrip().split())

def resolve():
    S = input()
    s1 = "ABC"
    print(s1 if S != s1 else "ARC")


if __name__ == "__main__":
    resolve()

Submission status: Accepted

Solution code:
import sys
readline = sys.stdin.buffer.readline
def even(n): return 1 if n%2==0 else 0

s = readline().rstrip().decode('utf-8')

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

Submission status: Accepted

Solution code:
n = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import stdin

K = str(stdin.readline().strip())

if K=="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")
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":
  ans = "ARC"
else:
  ans = "ABC"
  
print(ans)

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 == 'ARC':
  print('ABC')
else:
  print('ARC')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    s = input().strip()

    if s == 'ABC':
        out = 'ARC'
    elif s == 'ARC':
        out = 'ABC'
    else:
        raise ValueError()
    print(out)


if __name__ == '__main__':
    main()

Submission status: Accepted

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

def RD(): return sys.stdin.read()
def II(): return int(input())
def MI(): return map(int,input().split())
def LI(): return list(map(int,input().split()))
def TI(): return tuple(map(int,input().split()))
def RN(N): return [input().strip() for i in range(N)]


def main():
    S = input().strip()
    if S == b'ABC':
        print("ARC")
    else:
        print("ABC")

if __name__ == "__main__":
	main()

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[1]=='B'): 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:
S = input()

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

Submission status: Accepted

Solution code:
import sys
import itertools
sys.setrecursionlimit(1000000000)
from heapq import heapify,heappop,heappush,heappushpop
import math
import collections

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

Submission status: Accepted

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

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:
s=input()

if s=='ABC':
  ans='ARC'
else:
  ans='ABC'

print(ans)

Submission status: Accepted

Solution code:
S = input().rstrip('\n')
if S[1] == "B":
    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
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:
try:
  s=input()
  if s=="ABC":
    print("ARC")
  else:
    print("ABC")
except:
  pass

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python
import os
import sys
from io import BytesIO, IOBase


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

# region fastio

BUFSIZE = 8192


class FastIO(IOBase):
    newlines = 0

    def __init__(self, file):
        self._fd = file.fileno()
        self.buffer = BytesIO()
        self.writable = "x" in file.mode or "r" not in file.mode
        self.write = self.buffer.write if self.writable else None

    def read(self):
        while True:
            b = os.read(self._fd, max(os.fstat(self._fd).st_size, BUFSIZE))
            if not b:
                break
            ptr = self.buffer.tell()
            self.buffer.seek(0, 2), self.buffer.write(b), self.buffer.seek(ptr)
        self.newlines = 0
        return self.buffer.read()

    def readline(self):
        while self.newlines == 0:
            b = os.read(self._fd, max(os.fstat(self._fd).st_size, BUFSIZE))
            self.newlines = b.count(b"\n") + (not b)
            ptr = self.buffer.tell()
            self.buffer.seek(0, 2), self.buffer.write(b), self.buffer.seek(ptr)
        self.newlines -= 1
        return self.buffer.readline()

    def flush(self):
        if self.writable:
            os.write(self._fd, self.buffer.getvalue())
            self.buffer.truncate(0), self.buffer.seek(0)


class IOWrapper(IOBase):
    def __init__(self, file):
        self.buffer = FastIO(file)
        self.flush = self.buffer.flush
        self.writable = self.buffer.writable
        self.write = lambda s: self.buffer.write(s.encode("ascii"))
        self.read = lambda: self.buffer.read().decode("ascii")
        self.readline = lambda: self.buffer.readline().decode("ascii")


sys.stdin, sys.stdout = IOWrapper(sys.stdin), IOWrapper(sys.stdout)
input = lambda: sys.stdin.readline().rstrip("\r\n")

# endregion

if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

Solution code:
import sys
import math
import collections
from collections import deque
from functools import reduce
import heapq
#x = int(input())
#n, m, q = map(int, sys.stdin.readline().split())
s = input()
#a = list(map(int, sys.stdin.readline().split()))

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

Submission status: Accepted

Solution code:
S = input ()
print ("ARC") if S=="ABC" 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")
else:
    print("ABC")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    a = input()
    if a == "ABC":
        print("ARC")
    else:
        print("ABC")
if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
S = input()

answer = 'ABC' if S == 'ARC' else 'ARC'

print(answer)

Submission status: Accepted

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

Submission status: Accepted

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

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[1] == 'B':
  print('ARC')

if S[1] == 'R':
  print('ABC')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
input_str = input()

if input_str == "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:
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:
s = list(input())
s[1] = "R" if s[1] == "B" else "B"
print("".join(s))

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline
def main():
    S = input().rstrip("\r\n")
    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:
lines = input()

X = str(lines)

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

Submission status: Accepted

Solution code:
A = input().split()

if A[0][1] == 'B':
    print('ARC')
elif A[0][1] == 'R':
    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().upper()
if s=="ARC":
  print("ABC")
else:
  print("ARC")

Submission status: Accepted

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

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=="ARC":
    print("ABC")
elif s=="ABC":
    print("ARC")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
c=input()

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

Submission status: Accepted

Solution code:
S = input()
print("ARC") if S == "ABC" 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:
a=input()
if a=='ABC':
  print('ARC')
else:
  print('ABC')

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

k = input()

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

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[1] == "R":
    print("ABC")
else:
    print("ARC")

Submission status: Accepted

Solution code:
import sys
readline = sys.stdin.buffer.readline
s =readline().rstrip().decode()
if s == 'ARC':
  print('ABC')
else:
  print('ARC')

Submission status: Accepted

Solution code:
#abc 166
#a
ln = input()
if ln == 'ABC':
    print('ARC')
else:
    print('ABC')

Submission status: Accepted

Solution code:
def main():
    code = input()
    result = ""
    if (code == "ABC"):
        print("ARC")
        pass
    if (code == "ARC"):
        print("ABC")


if __name__ == "__main__":
    # execute only if run as a script
    main()

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
S = input()

if S == "ABC":
  S = "ARC"
elif S == "ARC":
  S = "ABC"
else :
  S = "ABCかARCを入力してください"

print(S)

Submission status: Accepted

Solution code:
import sys


def solve(S: str):

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

    return


def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    S = next(tokens)  # type: str
    solve(S)

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

S=input().rstrip('\n')
if S=='ABC':
  print('ARC')
else:
  print('ABC')

Submission status: Accepted

Solution code:
thing = input()
print("ABC") if thing == "ARC" 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()

contests = {
  'ABC': 'ARC',
  'ARC': 'ABC'
}

print(contests[S])

Submission status: Accepted

Solution code:
S=str(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:
# coding: utf-8
# Your code here!
import sys
readline = sys.stdin.readline
read = sys.stdin.read

#n = int(input())
#a = [int(i) for i in read().split()]

s = input()
a = ["ABC","ARC"]
print(a[a.index(s)^1])

Submission status: Accepted

Solution code:
outPut = {
    "ABC": "ARC",
    "ARC": "ABC"
}

usrInput = input()
print(outPut[usrInput])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline
#N, K = (int(i) for i in input().split())
#B = [int(x) for x in stdin.readline().rstrip().split()]
#A = [[int(i) for i in input().split()] for i in range(N)]
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:
_,X,_=input()
if X == "R":
    print("ABC")
else:
    print("ARC")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
"""
/usr/bin/python3
Info Fields (opt.)
- Type: 
- Keywords:
- Notes:
"""
from sys import stdin, exit

if __name__ == '__main__':

   n=input()
     #  // all = [int(x) for x in input().split(' ')]
   if n == '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:
input_line = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
import math

s = sys.stdin.readline().rstrip()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    #n = int(input())
    #i = list(map(int, input().split()))
    s = input()
    if 'ABC' == s:
        print('ARC')
    else:
        print('ABC')

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
#import numpy as np
import sys, math
from itertools import permutations, combinations
from collections import defaultdict, Counter, deque
from math import factorial#, gcd
from bisect import bisect_left #bisect_left(list, value)
sys.setrecursionlimit(10**7)
enu = enumerate
MOD = 10**9+7
def input(): return sys.stdin.readline()[:-1]
def pri(x): print('\n'.join(map(str, x)))

S = input()

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

Submission status: Accepted

Solution code:
S=str(input())

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

Submission status: Accepted

Solution code:
import sys

S = input()

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

Submission status: Accepted

Solution code:
S = str(input())
if S == 'ABC':
    x = S.replace('B', 'R')
    print(x)
elif S == 'ARC':
    x = S.replace('ARC', 'ABC')
    print(x)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
C = (input())

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

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

Solution code:
if __name__ == '__main__':
    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("error")

Submission status: Accepted

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

print(main())

Submission status: Accepted

Solution code:
if __name__ == '__main__':
    string=input()
    if string=='ABC':
        print("ARC")
    else:
        print("ABC")

Submission status: Accepted

Solution code:
s=str(input())
if s =="ARC":
  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")

Submission status: Accepted

Solution code:
import sys;input=lambda:sys.stdin.readline().rstrip();aint=lambda:int(input());ints=lambda:list(map(int,input().split()))
import math;floor,ceil=lambda x:int(math.floor(x)),lambda x:int(math.ceil(x))
from functools import reduce;gcd=lambda*x:reduce(math.gcd,x);lcm=lambda*x:reduce(lambda x,y:(x*y)//gcd(x,y),x,1)
from collections import deque
import bisect
Yes=lambda b:print("Yes"if b else"No");YES=lambda b:print("YES"if b else"NO")
is_even=lambda x:True if x%2==0 else False

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

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
name = input()
if name == "ARC":
    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:
#!/usr/bin/env python3
s = input()
if s == "ABC":
    print("ARC")
else:
    print("ABC")

Submission status: Accepted

Solution code:
import sys
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))

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

Submission status: Accepted

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

Submission status: Accepted

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

if __name__ == "__main__":
    import sys
    in_str = input()
    awc(in_str)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-


def main():
    s = input().strip()

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


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
s = input()
f = 0
for i in s:
  if i == 'B':
    f = 1


if f == 1:
  print("ARC")
else :
  print("ABC")

Submission status: Accepted

Solution code:
S = input()

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