A - A?C Editorial /

Time Limit: 2 sec / Memory Limit: 1024 MB

配点 : 100

問題文

AtCoder 社は、毎週土曜日にコンテストを開催しています。

コンテストには ABC と ARC の 2 つの種類があり、毎週どちらか一方が開催されます。

ABC が開催された次の週には ARC が開催され、ARC が行われた次の週には ABC が開催されます。

先週開催されたコンテストを表す文字列 S が与えられるので、今週開催されるコンテストを表す文字列を出力してください。

制約

  • SABC または ARC

入力

入力は以下の形式で標準入力から与えられる。

S

出力

今週開催されるコンテストを表す文字列を出力せよ。


入力例 1

ABC

出力例 1

ARC

先週開催されたコンテストは ABC なので、今週は ARC が開催されます。

Score : 100 points

Problem Statement

AtCoder Inc. holds a contest every Saturday.

There are two types of contests called ABC and ARC, and just one of them is held at a time.

The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.

Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Constraints

  • S is ABC or ARC.

Input

Input is given from Standard Input in the following format:

S

Output

Print the string representing the type of the contest held this week.


Sample Input 1

ABC

Sample Output 1

ARC

They held an ABC last week, so they will hold an ARC this week.