while 1:i=n=int(1+2*eval(input()));exec("i-=1;a=[0]*n;a[-i]=i*(n-i);print(*a);"*n)
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page