x = int(input()) i = 0 while i < x: j = x - 1 while j >= 0: if j > i: print(" ", end = "") else: print("*", end = "") j-=1 print() i +=1