#include <bits/stdc++.h> using namespace std; int main() { double a=0; for(double b=1,i=100;b<=i;b++){ a+=1/b; } printf("%.3lf\n",a); }