torment people. He wants you to write a large factorial calculator. More specifically, he wants you to calculate very very very large factorials. He wishes you luck.
is not in a good mood today, so he has decided toInput Specification
The first line of input will contain the integer
The next
Output Specification
For every integer
Sample Input
Copy
2
5
13
Sample Output
Copy
120
1932053509
Comments
This comment is hidden due to too much negative feedback. Show it anyway.
No
Good job d, you just turned a comment into a problem ;)
This comment is hidden due to too much negative feedback. Show it anyway.
For every integer
, you are to output 
(mod 
)