#include #include #include using namespace std; using namespace atcoder; using mint = modint1000000007; #define rep(i,n) for (int i = 0; i < (n); ++i) #define Inf 1000000001 int main(){ int N; cin>>N; if(N==1){ cout<10000000.0)break; for(double b=a+1.0;true;b+=1.0){ if(a*b>10000000.0)break; double temp = pow(1.0/a,N) - pow(1.0/b,N); temp /= b; temp /= b-a; ans += temp; } } cout<5000.0)break; for(double b=a+1.0;true;b+=1.0){ if(b>5000.0)break; double temp = pow(1.0/a,N) - pow(1.0/b,N); temp /= b; temp /= b-a; ans += temp; } } cout<