Problem1649--★阶乘数列

1649: ★阶乘数列

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

Description

求1+2!+3!+4!+…+n!。

 

Input

只有1个数n  ( 0<n<=10)

Output

阶乘之和

Sample Input Copy

5

Sample Output Copy

153

Source/Category