#include <iostream>

using namespace std;

int main(){
	int x, y, z;                    //x??¨y??¨z?????£?¨???????
	for(int i = 0; i < 9; i++){     //9?????°?????????(x???1???9???)
		x = i + 1;                  //x???1???9?????£??\??????
		for(int j = 0; j < 9; j++){ //9?????°?????????(y???1???9???)
			y = j + 1;              //y???1???9?????£??\??????
			z = x * y;              //z???x * y?????£??\
			cout << x << "*" << y << "=" << z << endl; 
		}
	}
	return 0;
}