AtCoder Beginner Contest 166
A
A?C
AtCoder
⌀ 0
原题
←B →
翻译中…

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.

翻译中…

样例

Input #1
ABC
Output #1
ARC
They held an ABC last week, so they will hold an ARC this week.
题目信息
题号
abc166_a
时间限制
2 s
内存限制
1024 MB

题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。