#include<iostream>
using namespace std;

int main()
{
	int i,j;
	for (i=1;i<=8;i++)
		for(j=1;j<=i;j++)
			cout<<j<<"*"<<i<<"="<<i*j<<endl;
	for (i=9,j=1;j<=9;j++)
		cout<<i<<"*"<<j<<"="<<i*j<<endl;
    return 0;
}