using System; using System.Collections.Generic; using System.Linq; class Program { static void Main(string[] args) { var N = int.Parse(Console.ReadLine()); var ss = ""; var flag = 0; var N2 = N; if (N == 10) { N--; flag = 1; } for (int i = 1; i <= N; i++) { for (int j = 0; j < N2; j++) ss += i.ToString(); } if (flag == 1) ss += "0000000000"; Console.WriteLine(ss); } }