using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace yukicoder_570 { class Program { static void Main(string[] args) { int[] h = new int[3]; for(int i = 0; i < 3; i++) { h[i]=int.Parse(Console.ReadLine()); } var map = new Dictionary(); map["A"] = h[0]; map["B"] = h[1]; map["C"] = h[2]; foreach(var i in map.OrderByDescending((x)=>x.Value)) { Console.WriteLine(i.Key); } Console.ReadLine(); } } }