1382 计算N!


Submit solution

Points: 100
Time limit: 1.0s
Memory limit: 32M

Problem types
Allowed languages
C, C++, Java, Python

Description

yaojian最近学了一个新的运算法则——阶乘,但他很懒,不想一步一步计算,所以他想让你来帮他编一个程序,能马上得到N的阶乘。

Input

输入包含若干行数据,每行都有一个整数N(0<=N<=200)。

Output

与输入相对应每行输出N的阶乘。

Sample

Input

2
4

Output

2
24

Source: yaojian


Comments

There are no comments at the moment.