#include<iostream> using namespace std; int main(){ int a; double b=1,c=1; cin>>a; while(c<=a){ b+=1/c; c++; } cout<<b; return 0; }