print()
N = int(input("请输入行数"))
# 做出简易模型
if N % 2 == 0:
rows = N // 2
else:
rows = N // 2 + 1
for i in range(1, rows + 1):
print("-" * (rows - i), "*" * (2 * i - 1))
for i in range(N // 2, 0, -1):
print("-" * (rows - i), "*" * (2 * i - 1))
# 闪电
for i in range(1, 4):
print()
for j in range(5 - i ,0, -1):
print(" ", end="")
for k in range(0, i):
print("*", end="")
print()
print("********")
for i in range(0, 3):
print(" ", end="")
for j in range(0, 3 - i):
print("*", end="")
print()