N!

描述
Given an integer N(0 ≤ N ≤ 10000), your task is to calculate N!
输入
One N in one line, process to the end of file.
输出
For each N, output N! in one line.
样例
样例输入 #1
1
2
3
样例输出 #1
1
2
6
HDOJ-1042
题目来源:HDOJ-1042
时间限制:5000 MS
内存限制:262144 KB
Java 类名:Main
64 位整数占位符:%I64d