n=int(input()) for i in range(n) : for j in range(n) : if ((n-1)-j)+((n-1)-i)<=n-1 : print("*",end="") else : print(" ",end="") print()