Problem F: 求T=1/1! + 1/2! + 1/3!+...+1/n!的值.

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:6145 Solved:4541

Description

求T=1/1! + 1/2! + 1/3!+...+1/n!的值.

Input

输入一个整数n

Output

输出公式的值,结果保留3位小数,输出占一行.

Sample Input Copy

1

Sample Output Copy

1.000