using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Diagnostics; using System.IO; using System.Numerics; // 参照 class _Class { void _Do() { var N = Split.ints()[0]; for (int i=N;i>0 ;i--) { for(int j=i;j>0 ;j--) Console.Write(N); Console.WriteLine(); } } static void Main(string[] args) { new _Class()._Do(); } } // static class Split { // 1 public static string[] strings() { return Console.ReadLine().Split(); } // [2.1] -2,147,483,648 ~ +2,147,483,647 public static int[] ints() { var _s = Console.ReadLine().Split(); var x = new int[_s.Length]; for (var i = 0; i < _s.Length; i++) x[i] = int.Parse(_s[i]); return x; } // [2.2] // -9,223,372,036,854,775,808 ~ // +9,223,372,036,854,775,807 public static long[] longs() { var _s = Console.ReadLine().Split(); var x = new long[_s.Length]; for (var i = 0; i < _s.Length; i++) x[i] = long.Parse(_s[i]); return x; } public static BigInteger[] bigs() { var _s = Console.ReadLine().Split(); var x = new BigInteger[_s.Length]; for (var i = 0; i < _s.Length; i++) x[i] = BigInteger.Parse(_s[i]); return x; } }