#include<iostream>
using namespace std;
int main(){
    int i,j;
    int res=0;
    for(i=1;i<=9;i++){
        for(j=1;j<=10;j++){
            res=i*j;
            cout<<i<<" * "<<j<<" = "<<res<<endl;
        }
        cout<<"\n";
    }
return 0;
}