Factorial
Submit solution
Points:
100
Time limit:
1.0s
Memory limit:
256M
Author:
Problem types
Allowed languages
Python
Given a non-negative integer \(n\), compute its factorial \(n!\). By definition, \(0! = 1\).
Input
One line containing \(n\).
The input satisfies:
- \(0 \le n \le 20\)
Output
Print \(n\)!.
Example
Input
5
Output
120
Comments