fork(7) download
  1. MOD=109546051211
  2. t=raw_input()
  3. n=int(t)
  4. if(n>=587117):
  5. print(0)
  6. else:
  7. a=1
  8. b=1
  9. for i in range(1,n+1):
  10. a=(a*i)%MOD
  11. b=(b*a)%MOD
  12. print(b)
Runtime error #stdin #stdout #stderr 0s 7852KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "prog.py", line 2, in <module>
EOFError: EOF when reading a line