print(#1)
for x in range(1,8):
	print("*" * x)
	print()

print(#2)
for y in range(8,0,-1):
	print("*" * y)
print()

print(#3)
for m in range(1,8):
	print("*" * m)
print()
for n in range(8,0,-1):
	print("*" * n)
print()

print(#4)
for z in range(1,8):
	print("*" * 8)
print()
		