#-*-coding: utf-8
print("★ 구구단을 출력합니다.\n")
for x in range(2, 10):
print("------- [" + str(x) + "단] -------")
for y in range(1, 10):
print(x, "X", y, "=", x*y)
print("---------------------")

#-*-coding: utf-8
print("★ 구구단을 출력합니다.\n")
for x in range(2, 10):
print("------- [" + str(x) + "단] -------")
for y in range(1, 10):
print(x, "X", y, "=", x*y)
print("---------------------")

#-*-coding: utf-8