#include #include int gcd(int m,int n){ int r=m%n; while(r>0){ m=n; n=r; r=m%n; } return n; } int main(void){ int L; scanf("%d",&L); L=L/4; int m,n; int count=0; for(m=2;m<=(-1.0+sqrt(1+2*L))/2;m++){ for(n=1+(m&0x01);n