#include #include #include #include #include #include using namespace std; #define int long long #define rep(i,n) for(int i = 0; i < (n); i++) #define INF (long long)(1e18) #define MOD (int)(1e9+7) #define yn(f) ((f)?"Yes":"No") #define YN(f) ((f)?"YES":"NO") #define MAX 10000002 int temp[MAX]; bool tete[MAX]; void fuga(){ temp[0] = 1; vector vec; for(int i = 0; i*i <= MAX; i++){ vec.push_back(i*i); tete[i*i] = true; temp[i*i]--; } for(int i = 0; i < vec.size(); i++){ for(int j = 0; j < vec.size(); j++){ if(vec[i]+vec[j] < MAX) temp[vec[i]+vec[j]]++; else break; } } } signed main(){ cout<>X>>Y; fuga(); for(int i = X; i <= Y; i++){ ans = max(ans,temp[i]*4); } cout<