using System; public class Hello { static void Main() { var n = int.Parse(Console.ReadLine().Trim()); if (n == 1) { Console.WriteLine(1); goto exit; } for (int i = n - 1; i >= 0; i--) for (int j = 0; j < n; j++) Console.Write(i); Console.WriteLine(); exit:; } }