package one;
import java.util.Scanner;
public class Csdn {
public static void main(String[] args) {
Scanner sac=new Scanner(System.in);
int num=sac.nextInt();
for(int i=1;i<num;i++){
for(int j=1;j<=i;j++){
System.out.print(i+"*"+j+"="+i*j+"\t");
}
System.out.println();
}
}
import java.util.Scanner;
public class Csdn {
public static void main(String[] args) {
Scanner sac=new Scanner(System.in);
int num=sac.nextInt();
for(int i=1;i<num;i++){
for(int j=1;j<=i;j++){
System.out.print(i+"*"+j+"="+i*j+"\t");
}
System.out.println();
}
}
}