using System.Collections.Generic; using System; public class Hello { public static void Main() { var n = int.Parse(Console.ReadLine().Trim()); var ns = n.ToString(); var w = ""; var a = new List(); for (int i = 1; i <= n; i++) { w += ns; a.Add(w); } a.Reverse(); foreach (var x in a) Console.WriteLine(x); } }