階乗

整数 n の階乗は、1 から n までのすべての整数の積として定義されます。

n!=1⋅2⋅3⋅...⋅nn! = 1 \cdot 2 \cdot 3 \cdot ... \cdot n

与えられた整数 n の階乗 n! の結果を出力するプログラムを書いてください。

入力

出力

1

1

5

120

0

1

Constraints

Time limit: 1.6 seconds

Memory limit: 512 MB

Output limit: 1 MB