#include #include int main (){ int N,i=1,n; double sum=0; scanf("%d",&N); for(i=1,n=1;i<=2*N;i=i+2,n++){ sum=sum+pow((-1),n+1)*n/i; } printf("%.3f",sum); return 0;}