using System;
public class Program
{
public static void Main()
int rows;
Console.Write("Enter the number of rows : ");
rows= Convert.ToInt32(Console.ReadLine());
for(int i = 1;i <= rows; i++)
for(int x = 1;x <= i; x++)
Console.Write("{0}",i);
Console.Write("\n");
}