游客 Signup | Login
中文 | En

1418 - C语言-阶乘数列

通过次数

0

提交次数

0

Time Limit : 1 秒 Memory Limit : 128 MB

求Sn=1!+2!+3!+4!+5!+…+n!之值,其中n是一个数字。

Input

n

Output

Examples

Input Format

5

Output Format

153