using System;
public class Program
{
public static void Main()
int i,j;
for(i=1;i<=4;i++)
for(j=1;j<=i;j++)
Console.Write(i);
Console.Write("\n");
}