e-olymp
favorite We need a little bit of your help to keep things running, click on this banner to learn more
Competitions

Quick start C

Find the sum

Given number n, find the sum

prb8546.gif

Input

One positive integer n (n1000).

Output

Print the sum with 6 decimal digits.

Time limit 1 second
Memory limit 128 MiB
Input example #1
5
Output example #1
0.833333
Input example #2
12
Output example #2
0.923077