#include<iostream>
using namespace std;

int main()
{
    for(long long int i=1;i<=9;i++)
    {
        for(long long int j=1;j<=9;j++)
        {
            if(i==1&&j<=2) cout<<i<<"X"<<j<<"="<<i*j<<endl;
            else if(i==9&&j==7)cout<<"."<<endl<<"."<<endl;
            else if(i==9&&(j==8||j==9)) cout<<i<<"X"<<j<<"="<<i*j<<endl;
        }

    }
    return 0;
}