x = int(input())
satr = x
star = x
space = 0
while satr > 0:
i = 0
j = 0
while space > j:
print(" ", end="")
j += 1
while star > i:
print("*",end="")
i += 1
print("\n", end="")
satr -= 1
star -= 1
space += 1