x = int(eval(input()))



if x <1200:

  print('ABC')

else:

  print('ARC')
n = int(eval(input()))



if n < 1200:

  print('ABC')

else:

  print('ARC')
x = int(eval(input()))
if x < 1200:
    print("ABC")
else:
    print("ARC")

n = int(eval(input()))
if n < 1200:
    print("ABC")
else:
    print("ARC")

-x = int(eval(input())) -if x < 1200: +n = int(eval(input())) +if n < 1200: