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-----
ABC

-----Sample Output-----
ARC

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

Difficulty: introductory

Starter code:

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

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


s = input()

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


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


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

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

s = input()

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

elif s == "ARC" :
    print("ABC")

s = input()

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

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

s = input()

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


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

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


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

# coding: utf-8
# Your code here!
S = input()

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

a = input()

if a == "S" :
    print("今週開催されるコンテストを表す文字列を出力せよ。")
elif a == "ABC":
    print("ARC")
else :
    print("ABC")

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

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

s = input()

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


s = input()

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

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

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

s=input()

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

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

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

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

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

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

print(f"A{'RB'['R'in input()]}C")

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

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

import sys
from collections import deque, defaultdict, Counter
from itertools import accumulate, product, permutations, combinations
from operator import itemgetter
from bisect import bisect_left, bisect_right
from heapq import heappop, heappush
from math import ceil, floor, sqrt, gcd, inf
from copy import deepcopy
import numpy as np
import scipy as sp

INF = inf
MOD = 1000000007

s = input()

tmp = 0
res = "ABC"

if s == "ABC":
    res = "ARC"

print(res)


#!/usr/bin/env python3
s  = input()
if s == "ABC":
    print("ARC")
else:
    print("ABC")


S=input()

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


print(input().translate(str.maketrans({"R":"B","B":"R"})))

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

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

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

#!/usr/bin/env python
# -*- coding: utf-8 -*-

import sys  # {{{
import os
import time
import re
from pydoc import help
import string
import math
from operator import itemgetter
from collections import Counter
from collections import deque
from collections import defaultdict as dd
import fractions
from heapq import heappop, heappush, heapify
import array
from bisect import bisect_left, bisect_right, insort_left, insort_right
from copy import deepcopy as dcopy
import itertools
# }}}

# pre-defined{{{
sys.setrecursionlimit(10**7)
INF = 10**20
GOSA = 1.0 / 10**10
MOD = 10**9+7
ALPHABETS = [chr(i) for i in range(ord('a'), ord('z')+1)]  # can also use string module
def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LI_(): return [int(x)-1 for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def I(): return int(sys.stdin.readline())
def F(): return float(sys.stdin.readline())
def DP(N, M, first): return [[first] * M for n in range(N)]
def DP3(N, M, L, first): return [[[first] * L for n in range(M)] for _ in range(N)]
from inspect import currentframe
# }}}

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

    return 0

def __starting_point():# {{{
    solve()

# vim: set foldmethod=marker: }}}

__starting_point()

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

#!/usr/bin/env python3
s  = input()
if s == "ABC":
    print("ARC")
else:
    print("ABC")


s=input()

if s.find('B')==1:
  print('ARC')
else:
  print('ABC')

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

#!/usr/bin/env python
# -*- coding: utf-8 -*-

import sys  # {{{
import os
import time
import re
from pydoc import help
import string
import math
from operator import itemgetter
from collections import Counter
from collections import deque
from collections import defaultdict as dd
import fractions
from heapq import heappop, heappush, heapify
import array
from bisect import bisect_left, bisect_right, insort_left, insort_right
from copy import deepcopy as dcopy
import itertools
# }}}

# pre-defined{{{
sys.setrecursionlimit(10**7)
INF = 10**20
GOSA = 1.0 / 10**10
MOD = 10**9+7
ALPHABETS = [chr(i) for i in range(ord('a'), ord('z')+1)]  # can also use string module
def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LI_(): return [int(x)-1 for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def I(): return int(sys.stdin.readline())
def F(): return float(sys.stdin.readline())
def DP(N, M, first): return [[first] * M for n in range(N)]
def DP3(N, M, L, first): return [[[first] * L for n in range(M)] for _ in range(N)]
from inspect import currentframe
# }}}

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

    return 0

def __starting_point():# {{{
    solve()

# vim: set foldmethod=marker: }}}

__starting_point()

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

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

S = input()

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

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

S = input()

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


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

S = input()

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



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

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

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

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

n = input()

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

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


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


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

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

s = input()

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

def inN():
    return int(input())
def inL():
    return list(map(int,input().split()))
def inNL(n):
    return [list(map(int,input().split())) for i in range(n)]
mod = pow(10,9)+7
#import numpy
s = input()
if s == "ABC":
    print("ARC")
else:
    print("ABC")

s = input()

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


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


s = input()

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

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


print("A%sC"%'BR'[input()<"AR"])

S = input()

print((*({"ABC", "ARC"} - {S})))


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

s=input()

if s.find('B')==1:
  print('ARC')
else:
  print('ABC')

s = input()

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


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


s = input()

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

S = input()

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

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

print({"ABC":"ARC","ARC":"ABC"}[input()])

s = input()

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

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

def main() -> None:
    s = input()

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


def __starting_point():
    main()

__starting_point()

s = list(input())

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

s = input()

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

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

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

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


print(['ARC','ABC'][input()[1]=='R'])

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

#ABC166
S = input()
#----------以上入力----------
if S == 'ABC':
    print('ARC')
else:
    print('ABC')

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


S = input()

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

else:
    print("ABC")


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

def __starting_point():

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

__starting_point()

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

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

s = input()

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

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

string = input()

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

s=input()

if s.find('B')==1:
  print('ARC')
else:
  print('ABC')

print(*({"ABC","ARC"}-{input()}))

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

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

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

S = input()

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