Basecamp
Home
Problems
Contests
Ranking
Posts
Sign in
Statement
Editor
Input
Execution
Testing
Discussion
Editorial
Attempts
Factorial
English
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Find the factorial of a number.
Input
One integer
n
(
0
≤
n
≤
20
)
.
Output
Print the value of
n
!
=
1
⋅
2
⋅
3
⋅
...
⋅
n
.
Examples
Input #1
Answer #1