while True:
    try:
        n=int(input())
        for i in range(n+1,1,-1):
            print(i*"* ")
        for j in range(1,n+2):
            print(j*"* ")
    except:
        break