Read a number n and print its factorial 1 * 2 * ... * n.
n
1 * 2 * ... * n
Input 5 gives 120. Input 0 gives 1.
5
120
0
1