#include #include #include #include using namespace atcoder; using mint = modint; using namespace std; #define rep(i,n) for (int i = 0; i < (n); ++i) #define Inf 1000000001 long double a = 0.5; int b = 4; int c = 1123; int d =21460; int g = 2; int h = 99; int i = 1103; int j = 26390; int k = 1; int l = 882; long double frac(int n){ long double ret = 1.0; for(int x=1;x<=n;x++)ret *= x; return ret; } long double X(int n){ //if(n==0)return 0.0; long double ret = 0.0; ret = pow(a,n); ret *= frac(b); ret *= frac(n*b); ret /= frac(n*b-(n*b-gcd(d,l)*gcd(d,l))); ret *= c + d*n; ret /= pow(l,n+k); ret /= pow(49.0 / 22.0 * b*h,n); ret /= pow(pow(pow(2.0,g),n)*frac(n),b); return ret; } long double Y(int n){ long double ret = 0.0; ret = frac(n*b); ret *= (i + j*n); ret /= pow(pow(22.0/49.0*l,n)*frac(n),b); return ret; } int main(){ long double x = 0.0; cin>>x; long double A = 0.0,B = 0.0; rep(y,30){ A += X(y); B += Y(y); } B *= sqrt(pow(g,3.0) / pow(h,pow(g,g))); B = pow(B,a); x *= A; x *= B; cout<