#include<iostream>
using namespace std;
 
int main(){
	for(int i=0; i<9; ++i) {
		int x; int y; int z;
		x = i+1; y = i+1;
		z = x * y;
		cout << x << " x " << y << " = " << z << endl;
	}
    return 0;
}