AtCoder Beginner Contest 166
翻译中…
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$isABCorARC.
翻译中…
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.
题目信息
题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。