eolymp
bolt
Try our new interface for solving problems
Problems

The number of permutations

The number of permutations

Given an integer $n$, find the number of different permutations of numbers from $1$ to $n$. \InputFile One integer $n\:(1 \le n \le 12)$. \OutputFile Print the number of different permutations of numbers from $1$ to $n$.
Time limit 1 second
Memory limit 128 MiB
Input example #1
3
Output example #1
6