'use strict';
(function(stdin) {
	for(var j = 1; j <= 9; j++){
		for (var i = 1; i <= 9; i++){
			console.log(j + ' x ' + i + ' = ' + (j * i));
		}
	}
}(require('fs').readFileSync('/dev/stdin', 'utf8')));