using System; public class Hello{ public static void Main(){ int A = int.Parse(Console.ReadLine()); int B = int.Parse(Console.ReadLine()); int C = int.Parse(Console.ReadLine()); if(A > B && A > C){ Console.WriteLine(A); if(B > C){ Console.WriteLine(B); Console.WriteLine(C); }else{ Console.WriteLine(C); Console.WriteLine(B); } }else if(B > A && B > C){ Console.WriteLine(B); if(A > C){ Console.WriteLine(A); Console.WriteLine(C); }else{ Console.WriteLine(C); Console.WriteLine(A); } }else{ Console.WriteLine(C); if(A > B){ Console.WriteLine(A); Console.WriteLine(B); }else{ Console.WriteLine(B); Console.WriteLine(A); } } } }