#AT1894. B - AtCoder Quiz

B - AtCoder Quiz

B - AtCoder Quiz

Score : $200$ points

Problem Statement

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$?

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.

Input

Input is given from Standard Input in the following format:

S1S_1

S2S_2

S3S_3

Output

Print the answer.


ARC
AGC
AHC
ABC

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


AGC
ABC
ARC
AHC