#include <iostream>
using namespace std;
int main(void){
    int x,y;
    x=0;
    while(1){
        x=x+1;
        y=x*x;
        cout<<x<<"*"<<x<<"="<<y<<endl;
        if(x>=9){
            break;
        }
    }
    
}

