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