Smeke has decided to participate in AtCoder Beginner Contest (ABC) if his current rating is less than 1200, and participate in AtCoder Regular Contest (ARC) otherwise.  You are given Smeke's current rating, x. Print `ABC` if Smeke will participate in ABC, and print `ARC` otherwise.
x=int(input())
if(x>1200):
    print('ABC')
else:
    print('XYZ')
x=int(input())
if(x<1200):
    print('ABC')
else:
    print('ARC')