ll@f,a,@b,@c,y=0,g=b+c-f-1,s,S,i,j,k,l;if(b>c)swap(b,c);rep(d,1,g)REP(e,1,g-d+1)a=d+f+e,s=a+b+c,S=s*(s-2a)*(s-2b)*(s-2c),i=4a*a*b*b-S,j=4a*a*c*c-S,k=Isqrt(i),l=Isqrt(j),k*k==i&&l*l==j&&2a*(b*b*e-c*c*d)==((c*c