1005: 分数序列求和

Memory Limit:12 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:74 Solved:37

Description

有如下分数序列

求出此数列的前N项之和(N<=100)。

Input

输入n的值

Output

输出结果,并保留6位小数。

Sample Input Copy

20

Sample Output Copy

32.660261

HINT

请将结果的数据类型定义为double类型。