#include <stdio.h>
#include <stdlib.h>

int main(void) {
  int val=0,i;
  while(val!=-1) {
    printf("Donnez un entier : \n");
    scanf("%d",&val);
	if (val==-1)
	  break;
    for(i=1;i<11;i++){
      printf("%d x %2d = %d \n",val,i,val*i);
	}
  } 
  return EXIT_SUCCESS;
}