~/algor $ cat problems/while/double-factorial-n
Double factorial (n!!)
Easy
1000 ms
64 MB
23%
A positive integer is given. Compute its double factorial :
The last factor is if is odd and if is even.
Input
One integer .
Output
One integer — .
Note
Examples
Input #1
5
Output #1
15
Input #2
6
Output #2
48