# n = int(input())
# for i in range(n):
#     print("*"*i)

# n = int(input())
# i = n
# while i >=0:
#     print("*"*i)
#     i -= 1


# n = int(input())
# i = 0
# j = n
# while i <=n:
#     print(" "*j+"*"*i)
#     i += 1
#     j -= 1


# n = int(input())
# i = n
# j = 0
# while i >=0:
#     print(" "*j+"*"*i)
#     i -= 1
#     j += 1

n = int(input())
i = n
j = 0
while i >= 0:
    print(" "*j+"*"*i)
    i -= 2
    j += 1





