#include using namespace std; /* N^2-x^2=y^2 */ bool is_square(long x){ double p = sqrt(x)* sqrt(x) - (double)x; if(p == 0.0){ return true; } return false; } int main(){ long N; int count = 0; scanf("%ld",&N); for(long i=1;i