#include<stdio.h>
main(){
  int i,j,multiplication;
  i=1;
  j=1;
  multiplication=0;
  while(i<=9){
    multiplication=i*j;
    printf("%d x %d = %d\n",i,j,multiplication);
    j+=1;
    if(j == 10) {
      i+=1;
      j=1;
    }
  }
 
}