n = int(input())
# 行
i = 1
while i <= n:
# 列
j = 1
while j <= i:
print("%d * %d = %d" % (j, i, j * i), end = "\t")
j += 1
print("")
i += 1
03-14
822
n = int(input())
# 行
i = 1
while i <= n:
# 列
j = 1
while j <= i:
print("%d * %d = %d" % (j, i, j * i), end = "\t")
j += 1
print("")
i += 1