ll i,j,n;{rd(n);rep(i,1,n)rep(j,i,(n-i)/2+1)wt(i,j,n-i-j);}