double s,n;i=7e8;main(){for(scanf("%lf",&n);--i;)s+=1/(i+n)/(i+n);i=!printf("%.9f",s);}