n=int(input()) i=0 space=0 star=n while i<n: j=0 while j<space: print(" ",end='') j+=1 j=0 while j<star: print("*",end='') j+=1 space+=1 star-=1 print("") i+=1