Module: For loop statement. Typical tasks


Problem

15 /16


Factorial numbers

Problem

By integer natural  \(N\) calculate \(N!\) – multiplication of all natural numbers from 1 to N (\( N!=1 \cdot 2 \cdot 3 \cdot …\cdot N\) ).

Input
Integer 1<=N<=12.
Ouput
print \(N!\)

Examples
Input Output
1 5 120