#!/usr/bin/ruby
# -*- coding: utf-8 -*-
=begin
Volume0-0000
Submit [Old Version]
PCK 2003
=end
class Main

  def initialize
    1.upto(9) {|i|
      1.upto(9) {|j|
        printf("%dx%d=%d\n", i, j, i*j)
      }
    }
  end

end


if $0 == __FILE__ then
  Main.new
end