#include<iostream>
using namespace std;

int main(){
    int sum;
    
    for(int i=1; i<10; i++){
        sum = i * i;
        cout << i << " x " << i << " = " << sum << endl;
    }

    return 0;
}