Factorial of an integer

`n`

is defined as:Given an integer

`n`

, you are asked to compute the product of factorials from `1`

to `n`

. So, you’re asked to compute the product of factorials:The input contains a single integer

`n`

. The program should print a single integer - the product of factorials from

`1`

to `n`

.Input | Output |

4 | 288 |

7 | 125411328000 |