#include <iostream>
using namespace std;

int main()
{
	for (int i = 1; i < 10; ++i)
	{
		for (int j = 1; j < 10; ++j)
		{
			if (i == 9 && j == 9)
			{
				cout << i << "*" << j << "=" << i*j;
				break;
			}
			cout << i << "*" << j << "=" << i*j << endl;
		}
	}
	return 0;
}
