using System; namespace yukicoder { class Program { static void Main(string[] args) { int a = int.Parse(Console.ReadLine()); int b = int.Parse(Console.ReadLine()); int c = int.Parse(Console.ReadLine()); int[] d = new int[3]; int[] e = new int[3]; d[0] = a; d[1] = b; d[2] = c; for (int i = 0; i < 2; i++) { e[i] = d[i]; } Array.Sort(d); for(int i = 2; i >= 0; i--) { if (e[0] == d[i]) { Console.WriteLine("A"); } else if(e[1] == d[i]) { Console.WriteLine("B"); } else { Console.WriteLine( "C"); } } } } }