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