#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; Int y=round(x*4); Int ans=0; vector f(10,1); for(Int i=1;i<10;i++) f[i]=f[i-1]*i; for(Int a=0;a<=100;a++){ for(Int b=a;b<=100;b++){ for(Int c=b;c<=100;c++){ Int d=y-(a+b+c); if(d100) continue; { Int p=a,q=d; vector v({p,a,b,c,d,q}); map m; for(Int x:v) m[x]++; Int res=f[6]; for(auto w:m) res/=f[w.second]; ans+=res; } { Int p=a,q=d+1; vector v({p,a,b,c,d,q}); map m; for(Int x:v) m[x]++; Int res=f[6]; for(auto w:m) res/=f[w.second]; ans+=res*(100-d); } { Int p=a-1,q=d; vector v({p,a,b,c,d,q}); map m; for(Int x:v) m[x]++; Int res=f[6]; for(auto w:m) res/=f[w.second]; ans+=res*a; } { Int p=a-1,q=d+1; vector v({p,a,b,c,d,q}); map m; for(Int x:v) m[x]++; Int res=f[6]; for(auto w:m) res/=f[w.second]; ans+=res*a*(100-d); } } } } cout<