while True:
    x = int(input())
    y = int(input())
    print "{0}*{1} is {2}".format(x, y, x*y)
