#include int main(){ int i,n; double sum; sum=0.0; i=1; scanf("%d",&n); while(n<1) { scanf("%d",&n); } do { sum+=1.0/i; i++; }while(i<=n); printf("%f",sum);}