#includeint main(){int i=1;float s=0;while(i<=30){if(i%2)s+=1.0/i;else s-=1.0/i;i++;}printf("%f\n",s);return 0;}