#include #include using namespace std; #define rep(i,n) for (int i = 0; i < (n); ++i) #define Inf 1000000005 int main(){ double k; cin>>k; double ans = 0.0; rep(i,10000){ ans += sin(((double)i+1)*k)/pow(i+1,i+1); } cout<