Problem1177--阶乘

1177: 阶乘

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description

s=1!+2!+…+n!,输入n,求s。

Input

输入n

Output

求s

Sample Input Copy

2

Sample Output Copy

3

Source/Category