fork download
  1. __author__ = 'Zlobober'
  2.  
  3. n = int(raw_input())
  4. t = 2
  5. ans = 1
  6. while t * t <= n:
  7. if n % t == 0:
  8. ans *= t
  9. while n % t == 0:
  10. n /= t
  11. t += 1
  12. if n > 1:
  13. ans *= n
  14. print ans
  15.  
Runtime error #stdin #stdout #stderr 0.01s 9016KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "prog.py", line 3, in <module>
EOFError: EOF when reading a line