#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; double ans = 0.0; for(double a=1.0;true;a+=1.0){ if(a>200000.0)break; for(double b=a+1.0;true;b+=1.0){ if(a*b>1000000.0)break; double temp = pow(1.0/a,N) - pow(1.0/b,N); temp /= b; temp /= b-a; ans += temp; } } cout<