while 1:
    try:
        n = int(input())
        for i in range(1,n+1):
            s = '* '*i
            s = s.rjust(n*2)
            print(s)
    except:
        break