文理学院程序设计在线练习


N!

Time Limit: 1 Second(s)    Memory Limit: 32 MB

Total Submission(s): 233   Accepted Submission(s): 31
Problem Description

1! = 1
2! = 1*2
3! = 1*2*3
n! = 1*2*3*4.....*n

Input

每组测试数据输入一个整数n(1<n< 2017),处理到文件尾。

Output

输出整数n的阶乘。

Sample Input
5
3
50
Sample Output
120
6
30414093201713378043612608166064768844377641568960512000000000000