A?C

AtCoder
IDabc166_a
Time2000ms
Memory256MB
Difficulty
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$ [samples]
Samples
Input #1
ABC
Output #1
ARC

They held an ABC last week, so they will hold an ARC this week.
API Response (JSON)
{
  "problem": {
    "name": "A?C",
    "description": {
      "content": "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 A",
      "description_type": "Markdown"
    },
    "platform": "AtCoder",
    "limit": {
      "time_limit": 2000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "abc166_a"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "AtCoder Inc. holds a contest every Saturday.\nThere are two types of contests called ABC and ARC, and just one of them is held at a time.\nThe company holds these two types of contests alternately: an A...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments