import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
System.out.print("Enter a limit : ");
int n = in.nextInt();
System.out.print("enter a table you need : ");
int t = in.nextInt();
for(int i=1;i<=n;i++){
System.out.println(t + "x" + i + "=" + t*i);
}
}
}