import numpy as np

import math

s = eval(input())

if s == "ABC":

    print("ARC")

else:

    print("ABC")
s = eval(input())



if s == "ABC":

    print("ARC")

else:

    print("ABC")
import numpy as np
import math

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

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

-import numpy as np -import math -