(lambda N : print("\n".join([" "*n + "*"*(N-n) for n in range(N)])))(int(input()))