x = int(eval(input()))

if x < 1200:

    print('ABC')

else:

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

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

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

-if x < 1200: -    print("ABC") -else: -    print("ARC") +print(("ABC" if x < 1200 else "ARC"))