import sys
n=[int(i) for i in sys.stdin.readlines()]

for j in n:
    for i in range(j):
        print(f"{'* '*(i+1): >{2*j}}")