class qq{
		public static void main(String a) {
				for(int i = 1;i<10;i++){
						for(int j = 1 ;j<10;j++){
								int k = i *j;
								System.out.printf("%d x %d = %d\n",i,j,k);
						}
				}
		}
}