print("\n".join([" "*i + "*"*(2*N-(2*i+1)) for N in [int(input())] for i in range(N)]))