#include using namespace std; int main(){ long long X,Y; cin>>X>>Y; long long now=0; for(long long i=X;i<=Y;i++){ long long answer=0; long long R=sqrt(i); for(long long t=1;t<=R;t++){ for(long long s=0;s<=R;s++){ if((t*t)+(s*s)==i)answer++; } } answer=answer*4; now=max(now,answer); } cout<