#include<stdio.h>
int main(void)
{
    double s=0;
    for(int i=0;i!=100;++i)
    s+=(i%2==0?+1:-1)/i;
    printf("%f\n",s);
}