#include<iostream>
using namespace std;

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