import java.util.*;
public class Main {
public static void main(String args[]) {
Scanner s=new Scanner(System.in);
int n=s.nextInt();
System.out.println(“1”);
int i=2;
while(i<=n){
int j=1;
while(j<=i){
if(j==1 || j==i)
System.out.print(i-1);
else
System.out.print(“0”);
j++;
}
i++;
System.out.println();
}
}
}