43. 1 + 1/2 + 1/3 +...+ 1/N

I'm a slow walker, but I never walk backwards.

Task Description
計算1 + 1/2 + 1/3 +...+ 1/N

Input Format
輸入正整數N

Output Format
輸出計算1 + 1/2 + 1/3 +...+ 1/N的結果,取至小數點第二位

Sample Input

1
3

Sample Output

1
1.83

Submit

Login

Testdata Set

Download Testdata