Problem9483--ABC217 —— B - AtCoder Quiz

9483: ABC217 —— B - AtCoder Quiz

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 512 MiB

Description

AtCoder currently holds four series of regular contests: `ABC`, `ARC`, `AGC`, and `AHC`.

What is the series of regular contests currently held by AtCoder in addition to $S_1$, $S_2$, and $S_3$?

Input

Input is given from Standard Input in the following format:

```
$S_1$
$S_2$
$S_3$
```

Output

Print the answer.

Constraints

-   Each of $S_1$, $S_2$, and $S_3$ is `ABC`, `ARC`, `AGC`, or `AHC`.
-   $S_1$, $S_2$, and $S_3$ are pairwise different.

Sample 1 Input

ARC
AGC
AHC

Sample 1 Output

ABC
Given in input are ARC, AGC, and AHC. The rest is ABC.

Sample 2 Input

AGC
ABC
ARC

Sample 2 Output

AHC

Source/Category