#38279: __py


11035093@mail.hpsh.tp.edu.tw (ಥ⁠‿⁠ಥ)


n = int(input())
for i in range(n):
    print("_"*(n-i-1)+"*"*(i+1))