rate = int(eval(input()))



if rate < 1200:

    print("ABC")

else:

    print("ARC")
a= eval(input())

if a<"1200":

    print("ABC")

else:

    print("ARC")

    

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

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

-rate = int(eval(input())) -if rate < 1200: +a = eval(input()) +if a < "1200":