#include using namespace std; using Int = long long; template inline void chmin(T1 &a,T2 b){if(a>b) a=b;} template inline void chmax(T1 &a,T2 b){if(a>x>>y; using P = pair; map > sp; for(Int i=0;i*i<=y;i++){ for(Int j=0;i*i+j*j<=y;j++){ sp[i*i+j*j].emplace(i,j); sp[i*i+j*j].emplace(i,-j); sp[i*i+j*j].emplace(-i,j); sp[i*i+j*j].emplace(-i,-j); } } Int ans=0; for(Int i=x;i<=y;i++) chmax(ans,(Int)sp[i].size()); cout<