import java.util.Scanner;
public class demo6 {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int sum = 0; int score[]= new int[]{13,14,12,13};
for ( int i=0; i<9; i++){
for ( int j=1; j<=i+1;j++){
System.out.print(i*j);
}
System.out.println(" ");
}
}
}