n=int(input()) for i in range(1,n+1): for j in range(1,n+1): if((i+j)>n): print("%",end="") else: print("@",end="") print()
To embed this program on your website, copy the following code and paste it into your website's HTML: