h = int(input())
for i in range(h):print(" " * (h - i - 1) + "*" * (h + i * 2) + " " * (h - i - 1))